Phlip wrote:
> In HTML it's:
> 
>    onclick='Ajax.Request(...)'
> 
> In Ruby that's :onclick => 'Ajax.Request(...)', natch.
> 
> To get the ... part, write remote_function or link_to_remote into a web 
> page and
> view its source. That will show you how to pack the Request arguments.
> 
> --
>    Phlip

Sorry I am new to rails and don't understand your comments.
I have a select box and I want whenever its value changed, other text 
field value will change accordingly. Could you please give me an example 
for this?

thanks.
-- 
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