How to write an xml file using ajax -
am trying create , write xml file using ajax. scenario have log in window in mobile web app when user come in username , password info entered should sent server through xml file.
in this, need create , write xml file elements of username , password through ajax. google , not got clear thought how accomplish it.
my doubts are,
can create xml file using ajax. if how can create , write xml elements ajax.can suggest me idea.
i have log in window in mobile web app when user come in username , password info entered should sent server through xml file
using xml massively overcomplicate task. using application/x-www-form-urlencoded info much simpler.
can create xml file using ajax
no. can create http request using ajax.
you create http request post request, , include xml document in body of it.
if how can create , write xml elements ajax.
if (which wouldn't, see above), i'd store template xml document in string, parse dom parser, manipulate add together data, serialise xml. see parsing , serializing xml @ mdn
xml ajax
No comments:
Post a Comment