Click here to Skip to main content
11,644,731 members (66,858 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 5-Oct-12 23:55pm

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 680
1 494
2 Sergey Alexandrovich Kryukov 464
3 Afzaal Ahmad Zeeshan 424
4 CPallini 386
0 OriginalGriff 1,020
1 Sergey Alexandrovich Kryukov 673
2 DamithSL 656
3 Afzaal Ahmad Zeeshan 652
4 CPallini 555

Advertise | Privacy | Mobile
Web01 | 2.8.150731.1 | 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