Hi,

I am working on google maps. While saving map locations to database, i
am making an ajax post to database to save data. But i'm getting error
as "Ajax is undefined"

My sample code is:

                             var params={};
                             var mylocation='Cool Place';
                             var ajax = new Ajax();
                ajax.responseType = Ajax.JSON;
                ajax.requireLogin=true;
                params = { "map_details" : loc};
                ajax.post       ("http://mydomainname.com:portno/foldername/
servletname",params);
                ajax.ondone = function(data)
                {
                }

I am posting data using servlet.

Can anyone help me on this.

Thanks,
Suhasini.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to