Solution of ECommerce
" <html><head> <title>Registration Formtitle>
<script language="javascript"> function imran() { var naam=document.f1.t1.value;
var male=document.f1.t2.value; var pas=document.f1.p1.value;
var l=15; var s=6; if(naam.length==0) {alert("Name field is empty!");
return false;}
if(naam.length>l) {alert("Name must be maximum 15 character!");
return false;} if(male.length==0) {alert("Email can not be empty!");
return false;} if(pas.lengthscript> head> <body> <h1>
Registration Form h1> <form action="http://www.vu.edu.pk" method="get" name="f1" target="_blank"> <pre>Name
<input type="text" name="t1" size="15" value="">pre>
<pre>Email Address <input type="text" name="t2" size="15" value="">pre>
<pre>Password <input type="password" name="p1" size="15" value="">pre>
<input type="button" name="b1" value="Submit" onmouseover="imran()"/>
<input type="reset" value="reset"/> form> body>
html>"
Post a Comment