I have a dropdown box and what i want to do is refresh the page when i select one of the options, but i need to keep that variable that i chose as it effects my sql statements.
Refresh page after selecting dropdown
Collapse
X
-
Try this script (BTW i think this was a question more suited for the Javascript forums
[HTML]<html>
<head>
<title>select test</title>
</head>
<body>
<form name="FormName" action="export. html" method="GET">
<select name="mydropdow n" OnChange="docum ent.FormName.su bmit();">
<option value="Dell">De ll</option>
<option value="HP">HP</option>
<option value="Mac">Mac </option>
</select>
</form>
</body>
</html>[/HTML] -
Comment