October 12th, 2004, 12:28 PM
Java Command to Refresh the Page? (Please)
Is there a command I can put into my line of HTML that will refresh or reload my page when I select a particular option?
Something like this and then a command or Function to replace the questions marks?
<Option Value="Refresh" OnSelect="??????";>Refresh</Option>
October 12th, 2004, 06:11 PM
yes there is:
<select name="mycombobox" onchange="this.form.submit();">
October 16th, 2004, 09:09 AM
you could also do something like this:
<input type="button" value="Refresh page" onclick="refresh()">