Closed
Bug 332251
Opened 19 years ago
Closed 19 years ago
button submit remains disabled when you do history.back after submit
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: lopocr, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; es-ES; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; es-ES; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
I have a form in wich I send some information using a submit button. When I click the button for the first time, I disable it,to prevent the user to repeat the operation endlessly. After this, when I do a history.back, the button remains disabled!!! so I can´t send information any more!!!
This is a piece of code:
<input onclick = "return enviar();" TYPE="submit" name="env" VALUE='enviar'>
....
<script>
function enviar(){
document.form.env.disabled = true;
document.form.submit();
return false;
}
</script>
Reproducible: Always
Expected Results:
The button should be enabled again after the history.back
Comment 1•19 years ago
|
||
That is as it should be. In firefox 1.5 the fastback feature means the document appears exactly as the user left it. Read here for more details and for how to work around it: http://developer.mozilla.org/en/docs/Using_Firefox_1.5_caching
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•