Drop Down Value Refresh

D

disnoid72

My next challenge has been getting the selection to refresh back to the
default 'Select One' when you click on the back button.

Let me clarify:

When you drop down and select an option, it jumps to that page. Perfect.
However, when you select the back button from your browser, the option is
still selected, it doesn't automatically refresh back to the value 'Select
One'.

How do I fix this?

Thanks for all your help!
 
J

Jon Spivey

Hi,
Just stick this code at then od your page - just before </body>
<script type="text/javascript">
document.forms[0].YourSelectBox.selectedIndex=0;
</script>
 
Top