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%>
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%>
Your with clause is messed up (it needs to be syntactically correct
javascript). You’re probably get a javascript error somewhere when you
click on the link.
Something like “‘game[title]=’ + $(‘game_title’).value”
would probably work better.
Fred
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.