hi
i have two html aa.html and bb.html.
there is a combo box in aa.html.
i have to pass the selected combo box value to bb.html.
and recieve that value in bb.html.
what i have already tried is listed below:
aa.html:
<html>
<script language="JavaS cript">
function button_press()
{
document.test.a ction="bb.html" ;
document.test.s ubmit();
document.write( "<h1>"+document .all.drop1.valu e+"</h1>");
}
</script>
<body>
<form name=test method=post>
<select name=drop1>
<option value=a>debu</option>
<option value=b>asim</option>
<option value=c>san</option>
<option value=d>pari</option>
</select>
<input type=submit name=submit value=submit onclick=button_ press()>
</form>
</body>
</html>
plz help........
i have two html aa.html and bb.html.
there is a combo box in aa.html.
i have to pass the selected combo box value to bb.html.
and recieve that value in bb.html.
what i have already tried is listed below:
aa.html:
<html>
<script language="JavaS cript">
function button_press()
{
document.test.a ction="bb.html" ;
document.test.s ubmit();
document.write( "<h1>"+document .all.drop1.valu e+"</h1>");
}
</script>
<body>
<form name=test method=post>
<select name=drop1>
<option value=a>debu</option>
<option value=b>asim</option>
<option value=c>san</option>
<option value=d>pari</option>
</select>
<input type=submit name=submit value=submit onclick=button_ press()>
</form>
</body>
</html>
plz help........
Comment