THANKS !!!!!!

On 3 jun, 16:48, Douglas <douglas.gont...@gmail.com> wrote:
> Ops! My mistake now O.o
>
> you'd use something like this:
>
> [code]
>   var myParameters =  { ID : 17, Name : 'hello' };
>   new Ajax.Updater(
>     td.id
>     ,'../adicionar'
>     ,{
>         asynchronous:true
>        ,parameters: myParameters // see? Setting
> Ajax.Updater.parameters as myParameters
>        ,onComplete: function(resp, json) {/* something wild :)*/}
>     });
> [/code]
>
> Cheers.
>
>
>
> On Wed, Jun 3, 2009 at 4:43 PM, Douglas <douglas.gont...@gmail.com> wrote:
> > On Wed, Jun 3, 2009 at 2:31 PM, Celso <cels...@gmail.com> wrote:
>
> >> var parameters = { ID : 17, Name : 'hello' };
>
> >>                new Ajax.Updater(
> >>                                td.id
> >>                                ,'../adicionar'
> >>                                ,{asynchronous:true
> >>                                        ,parameters
>
> > parameters is mispelled :/ you should use parameters:
> > 'string'|{object} instead. Removing this line it might work
>
> >>                                        ,evalScripts:true
> >>                                        ,onComplete:function(request, json) 
> >> {Effect.Pulsate(td.id);}
> >>                                        ,requestHeaders:['X-Update', td.id]
> >>                                        }
> >>                                );
>
> >> Does not works :(
> >> Why?
>
> >> Thanks,
> >> Celso.
>
> > --
> > Believe nothing, no matter where you read it, or who said it, no
> > matter if I have said it, unless it agrees with your own reason and
> > your own common sense.
>
> --
> Believe nothing, no matter where you read it, or who said it, no
> matter if I have said it, unless it agrees with your own reason and
> your own common sense.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to