Hi,
what type is e? And, what to you get if you call this statement before
the Ajax method:
alert(AjaxPro.toJSON(arr));
Regards,
Michael
On 7/10/06, Costin Manda <[EMAIL PROTECTED]> wrote:
>
> I have a very simple javascript that tries to send to the server an array of
> objects using Ajax.dll for net 1.0
>
> arr=new Array();
> arr[arr.length]={x:e.x,y:e.y,t:date.valueOf()};
> WebForm1.Save(arr,cb_Save);
>
> and I get this response.error text:
> SyntaxError Expected ;
>
> I even tried to send three objects instead of one like this:
> arr[arr.length]=e.x;
> arr[arr.length]=e.y;
> arr[arr.length]=date.valueOf();
>
> but I get the same thing. Can you please help me?
> ____________
> Costin Manda
> ECRM Europe
>
>
> >
>
--
Best regards | Schöne Grüße
Michael
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" 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/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---