Displaying 1 result from an estimated 1 matches for "nav_click".
Did you mean:
cat_click
2011 Feb 02
0
Converting rails 2 to 3 remote_function error
...I''m now
trying to port it to version 3 and am having an issue with
remote_function.
Right now, in a layout file, I have an image_tag and for :onclick I am
using the following:
:onclick => remote_function(:url => { :controller => ''rcg'', :action =>
''nav_click''}, :with => ''pressed=home''
This being just a snippet out of a fairly long image_tag that handles
image switching behavior and then, the idea is to execute a remote
function when clicked.
In the controller ''rcg'', I have defined a ''nav_click&...