I am opening up a new page when the user clicks submit. It would be a common occurrence for the user to come back to the original page to select something else from the drop down and need to “submit” again. Now the problem is that my js function disables the submit button, and the user would have to reload the page. The js is a standard thing, so unfortunately, I cant change that, but I was wondering if there was a way to reenable it in HTML or in a separate script, here is my relevant code:
<form name="verification_form" action="CreateVerification" target="_blank" onSubmit="return submitForm(this, 0, this.length-2, SUBMIT)" method="post">
<table width="75%" border="0" cellspacing="0" align="center">
<tr>
<tr>
<td>Stuff<input type="HIDDEN"></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td width="33%">
<div align="center">
<select name="stuff" id="stuff" class="R">
<option value=" "> </option>
<option value="<% =stuff %>"> <% =stuff %> </option>
</select>
<td><div class="submit">
<input type="submit" name="SUBMIT" value="SUBMIT">
</div></td>
</tr>
</table>
Any help would be appreciated, and let me know if there are any questions.
Check if your submit button is disabled. Enable it in that case.
With jQuery this will be the approach:
Hope it helped