On 21 Nov 2008, at 15:08, Palani Kumar wrote:

>
> Frederick Cheung wrote:
>> On 21 Nov 2008, at 09:17, Palani Kumar wrote:
>>
>>>
>>> Hi,
>>>  I have text_field_with_auto_complete , The problem i faced here is
>>> when type the text like  "firstname&lastname".When i get value of  
>>> text
>>> field in controller i only get the  firstname. i couldn't get  text
>>> value  after '&' symbol. i guess the & symbol is the problem here.
>>> but i
>>> need to use the & symbol in my text. How can i overcome this. can  
>>> any
>>> one please tell me.how can i over come this issue
>>
>> Probably the same problem that observe_field used to have (see the
>> last section here:
>> http://www.spacevatican.org/2008/5/17/with-or-without-you-link_to_remote-s-mysterious-parameter)
>>
>> Fred
>
> Hi fred,
>        I follow the suggestion the site you given. here is the coding
> in my view.how can i change the my coding according to the site
> suggestion.
>

The important bit is the bit about encodeURIComponent

Fred
> link_to_remote("Find", :url => {:controller => 'account', :action =>
> "findyourgame"},:with =>"'game[title]='+$('game_title').value")%>
> -- 
> 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 rubyonrails-talk@googlegroups.com
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