Text_field_with_auto_complete

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.

On 21 Nov 2008, at 09:17, Palani K. 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:
:with or :without you: link_to_remote's mysterious parameter - Space Vatican)

Fred

Frederick C. wrote:

On 21 Nov 2008, at 09:17, Palani K. 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:
:with or :without you: link_to_remote's mysterious parameter - Space Vatican)

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.

link_to_remote(“Find”, :url => {:controller => ‘account’, :action =>
“findyourgame”},:with =>“‘game[title]=’+$(‘game_title’).value”)%>

On 21 Nov 2008, at 15:08, Palani K. wrote:

value after ‘&’ symbol. i guess the & symbol is the problem here.

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