There's a missing } in your post?

On 4/3/07, CoolJazz <[EMAIL PROTECTED]> wrote:
>
>
> when i have this:
>
> function divUpdate(id, url, par, val){
> var params = {};
> params[par] = val;
> new Ajax.Updater(id, url, {
> method: 'get',
> parameters: params;
> });
>
> with this:
>
> onclick="divUpdate('divID', 'url.asp' , 'parameter', 'value');"
>
> I get an "object expected' error in IE when i click the button.
>
> On Apr 3, 12:17 am, "Sherif Zaroubi" <[EMAIL PROTECTED]> wrote:
> > > -----Original Message-----
> > > And I want to use it like this:
> >
> > > onclick="divUpdate('divID', url.asp' , 'parameter', 'value');"
> >
> > Just a quick note, your quotes are not matching in the example above
> (ie:
> > the missing start quote around url.asp)
>
>
> >
>

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