Displaying 1 result from an estimated 1 matches for "lookupword".
Did you mean:
lookup_word
2009 Jun 23
7
can't get remote_function working on rails 2.3.2
...now it looks
like this:
<%= remote_function(:url => { :action => :lookup } ) %>
As you can see, I''m not even trying to pass the Javascript parameter to
remote_function at the moment. My Javascript function looks like the
following and does show me the alert box:
function lookupWord(t) {
alert(''moving forward'');
<%= remote_function(:update => "definition_box", :url => { :action =>
:lookup } ) %>
}
This is what I currently have in my controller:
class HomeController < ApplicationController
def index
end
def lookup...