link-to-remote Questions

3

Solved

I want to call a javascript function that will be conditional upon a user's response to the confirm box. For example, I have the following anchor: <%= link_to 'Sign Out', destroy_session_path,...

2

Solved

I'm working to setup an AJAX action in rails 3 with the following code. The AJAX part of the code seems to work, but it does not request the correct file and my respond_to serves it the regular HTM...
Faustinafaustine asked 29/12, 2010 at 15:17

1

Solved

So I have a page with several messages, each with a link that changes (refines) the RATING of that message. When a user clicks on this link, I want an AJAX call that updates the corresponding colum...
Rosa asked 10/7, 2012 at 19:55

3

Solved

I am trying to figure out the new link_to in Rails 3 but i still don't get it In Rails 2 I do: <%= link_to_remote "My Link",:url=>{:action=>:myaction},:with=>"'data='+$('#someField').a...
Moujik asked 3/5, 2011 at 15:59

2

Solved

If i have the following javascript code var myVar = 0; function setNewValforVar(newValue){ myVar = newValue; } and i'm calling setNewValforVar function n times so when I click on a link it'd ...
Pneumothorax asked 3/5, 2011 at 20:40
1

© 2022 - 2024 — McMap. All rights reserved.