I'm not a javascript expert ...
Here is what I'm trying to do.
I have a form with two radio buttons (On and Off).
When either radio button is clicked, I submit the form to a URL.
I then need to automatically refresh the page after the form is submitted.
This is what I have so far. It currently does submit the form, that works OK (by the way, it is submitting it to itself .. it's a PHP script). But then I need the page to refresh for updating some other things that PHP does.
Code:
<form id="myForm1" action="<?=$_SERVER['php_self']?>" method="post">
OUTPUT 7:
<input type="radio" id="but7" name="v" value="71" onClick="javascript: submit()" onMouseOver="style.cursor='hand'"> ON
<input type="radio" id="but7" name="v" value="70" onClick="javascript: submit()" onMouseOver="style.cursor='hand'"> OFF
</form>