How to store HTML form data in xml using javascript/Jquery? -
i have 1 registration page in app, if registration happen means need save username , password in xml file. on each registration registerinfo.xml updated <person></person>
.how can that, let's xml follows,
registerinfo.xml:
<?xml version="1.0" encoding="utf-8"?> <registerinfo> <person usrname="vinod" pswd="chawla" ></person> <!-- if registration happen need create on person tag iwth username , password attribute--> </registerinfo>
html:
<!doctype html> <html> <head></head> <body> username: <input name="" id="username" value="" type="text" data-mini="true"><br> password: <input name="" id="password" value="" type="password" data-mini="true"><br> <input id="btndefaultsms" type="submit" value="register" data-mini="false"> </body> </html>
Comments
Post a Comment