Click here to Skip to main content
11,411,840 members (66,417 online)
Rate this: bad
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 6-Oct-12 0:55am

1 solution

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

Solution 1

I suppose you want local storage. This is a really good article:[^].
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[^].

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

  Print Answers RSS
0 OriginalGriff 213
1 Sergey Alexandrovich Kryukov 195
2 Sascha Lefévre 120
3 ProgramFOX 90
4 Dave Kreskowiak 90
0 Sergey Alexandrovich Kryukov 8,920
1 OriginalGriff 7,128
2 Maciej Los 3,440
3 Abhinav S 3,248
4 Peter Leow 3,059

Advertise | Privacy | Mobile
Web03 | 2.8.150414.5 | Last Updated 6 Oct 2012
Copyright © CodeProject, 1999-2015
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