Load new page using "select onChange"
I have a select menu on a html page and I want to load a new page in the same window (i.e. target="_self") dependent on the select value. I cannot for the life of me remember how to do it! Here's a rough example of how I intend to implement this...
<option value="Please select...">Please select...</option>
I want to use the "onChange" event to do this, but how?!?!
Can anyone help a man with an poor, ageing memory?
Thanks in advance....
<select name="exampleselect" onchange="window.location=this.value;">
That works a treat.
Thanks for your prompt reply.
Merry Christmas and a happy new year to you.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)