Anyone post script for confirm password validation for my simple test registration form. My html script is
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<div id="apDiv1">
<form id="form1" name="form1" method="post" action="#">
<table width="627" height="180" border="0">
<tr>
<td width="239">Name</td>
<td width="251"><label>
<input type="text" name="name" id="name" />
</label></td>
</tr>
<tr>
<td>Password</td>
<td><label>
<input type="text" name="pass1" id="pass1" />
</label></td>
</tr>
<tr>
<td>Confirm Password</td>
<td><label>
<input type="text" name="pass2" id="pass2" />
</label></td>
</tr>
<tr>
<td> </td>
<td><label>
<input type="submit" name="submit" id="submit" value="Submit" />
</label></td>
</tr>
</table>
</form>
</div>
</body>
</html>