Drop Down Value Refresh

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top