Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
This is for my POC/prototype project. I want to save the form data from HTML5 application on the click of a submit button(<button> tag). I want to save the data currently to my local pc in the xml format and do some testing and then implement the real project.
 
Pls tell me how can I handle the same by using javascript/Jquery?
Posted 5-Oct-12 23:55pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I suppose you want local storage. This is a really good article: http://diveintohtml5.info/storage.html[^].
Of course, you can store your data in xml also, but I doubt, that this could be a good idea. JSON representation looks more adequate - aside from some really special cases.
But of course, you can manipulate xml on client side with javascript. See some examples here:
XML and JavaScript[^] or JQuery[^].
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.141022.2 | Last Updated 6 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100