Passing Form Variable to New Window
Posted: Sun Jan 25, 2004 7:30 pm
Hi
I am having an HTML page like below. When i Click Submit, i want to Va;lidate first and result Form i want to Display in New Window( With out Top Buttons and Address bar) How can i do this??
<html>
<head>
<title>Title</title>
<script type="text/javascript">
function valid()
{
}
</script>
</head>
<body>
<form name="the_form" method="post" action="" onsubmit="return valid();">
<table>
<tr>
<td>User name</td>
<td><input type="text" value="enter user" name="uname" /></td>
</tr>
<tr>
<td>Password</td>
<td><input type="text" value="enter password" name="pwd" /></td>
</tr>
<tr><td><input type="submit" value="Login" /></td></tr>
<tr><td> </td></tr>
</table>
</form>
</body>
</html>
I am having an HTML page like below. When i Click Submit, i want to Va;lidate first and result Form i want to Display in New Window( With out Top Buttons and Address bar) How can i do this??
<html>
<head>
<title>Title</title>
<script type="text/javascript">
function valid()
{
}
</script>
</head>
<body>
<form name="the_form" method="post" action="" onsubmit="return valid();">
<table>
<tr>
<td>User name</td>
<td><input type="text" value="enter user" name="uname" /></td>
</tr>
<tr>
<td>Password</td>
<td><input type="text" value="enter password" name="pwd" /></td>
</tr>
<tr><td><input type="submit" value="Login" /></td></tr>
<tr><td> </td></tr>
</table>
</form>
</body>
</html>