Hi,
   please any one tell me how can i pass the
text_field_with_auto_complete value into link_to_remote in view. Here
are the coding in view .
<%= text_field_with_auto_complete :game, :title%>

 link_to_remote("Find", :url => {:controller => 'account', :action =>
"findyourgame"},:with =>"'game[title]='$('game_title').value")


In my account controller : i have a action called "findyougame"

def findyourgame
    ## i here couldn't get the value like params[:game][:title].
 end


Can any one please tell me how can i pass the text value and get in my
controller by using  link_to_remote. not form submit.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to