Download File
Download File
Download File
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
33<br />
3. AIM:<br />
Create and Save an XML document at the server, which contains 10<br />
users information. Write program, which takes user ID as input and<br />
returns the user details by taking the user information from XML<br />
Document.<br />
Procedure:<br />
• Login Page:<br />
Login.html:<br />
<br />
<br />
<br />
function ser()<br />
{<br />
var xmldoc=new ActiveXObject("Microsoft.XMLDOM");<br />
xmldoc.load("users.xml");<br />
var id=f1.id.value;<br />
var pass=f1.pass.value;<br />
var x=xmldoc.getElementsByTagName("userid");<br />
var y=xmldoc.getElementsByTagName("password");<br />
for(i=0;i