doubt in ajax.
-
i am having a form where i am insering all the values into the db via ajax. for that, i want to send the datas via xml. I have appended the datas from the form in the xml tags. So, how to send the xml to the server form via javascript. i have sent single or two datas thro' query string. But not the xml. How to send and receive a xml form client page to server page ? can we use cookiee, session or anything else ? Help me..
Regards, Abul.
-
i am having a form where i am insering all the values into the db via ajax. for that, i want to send the datas via xml. I have appended the datas from the form in the xml tags. So, how to send the xml to the server form via javascript. i have sent single or two datas thro' query string. But not the xml. How to send and receive a xml form client page to server page ? can we use cookiee, session or anything else ? Help me..
Regards, Abul.
You could send the xml as a string and then parse it on the server. This, however, seems like too much trouble. Coudn't you just send an array of strings or something? I know that some AJAX libraries allow you to send more complex data types. :doh:
The best times in life are the ones you can't remember!!!