By sending JSON:

{name: value, name1:value1, ... }

in your case

{name: $("id-of-the-element").getValue()}

or something similiar.

On 31.12.2008, at 12:50, Zhao Yi wrote:

>
> zero0x wrote:
>> I suppose you're using prototype, so you just need to get the value  
>> of
>> the select box.
>>
>> $("id-of-the-element").getValue()
>>
>>
>>
>> On 28. Dec., 15:04 h., Zhao Yi <[email protected]>
>
> How can I send more than one parameters?
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >

Vojtech Rinik: Web Developer
[email protected] | +421 670899


--~--~---------~--~----~------------~-------~--~----~
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