RighteousRaven wrote:
> I am using prototype's ajax objects, so I have to pass the parameters
> in as an object.  The syntax for what you are suggesting would be:
> {arr[]: myObj.getArray()}
> but that returns a syntax error.

Then quote the name.

 { 'arr[]': myObj.getArray() }

> 
> I think this was supposed to be fixed in v1.5.1 but apparently it
> wasnt.

It was fixed. It's your Javascript knowledge that needed fixing :)

-- 
Michael Peters
Developer
Plus Three, LP


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to