VUsolutions Transferred to VUsolutions.com

From December 2011, this blog www.VUsolutions.blogspot.com is transferred to www.VUsolutions.com. So, you may visit www.VUsolutions.com for latest study related help.

Back to home VUsolutions

468x60

VUsolutions Fans Club [join us for MORE solutions]

VUsolutions on Facebook

cs101 VU Current Assignment No. 2 Spring 2012 solution

Saturday, April 28, 2012 Edit This
<html>
<head>
<script>
function validateForm()
{
var x=document.forms["myForm"]["email"].value;
var atpos=x.indexOf("@vu.edu.pk");
var dotpos=x.lastIndexOf(".");
if (atpos<1 || dotpos<atpos+2 || dotpos+2>=x.length)
{
alert("Enter valid E-mail address");
return false;
}
}
</script>
</head>

<body>
<form name="myForm" action="demo_form.asp" onsubmit="return validateForm();" method="post">
Email: <input type="text" name="email">
<input type="submit" value="Submit">
</form>
</body>

Back to home VUsolutions

Shaadi.com: Just create ur account & find ur partner or EARN money, its reall & EASY

VUsolutions Followers (Join NOW and Get Extra Benefits)

Install LATEST toolbar having lot of features - GET solutions on Desktop

toolbar powered by Conduit