O
okey
<input type="submit"
class="button-bold"
name="change_resolution"
id="change_resolution"
value="count $single"
onClick="return changeResolution
($res_id,'$single');"
/>
Firing onClick submitted no matter what changeResolution() returned.
The fix for onClick was:
<input type="submit"
class="button-bold"
name="change_resolution"
id="change_resolution"
value="count $single"
onClick="this.disabled = true; var sbmt =
changeResolution($res_id,'$single'); this.disabled = false; return
sbmt;"
/>
Would someone please explain it. I can see submit is being disabled,
but why? Thank you.
class="button-bold"
name="change_resolution"
id="change_resolution"
value="count $single"
onClick="return changeResolution
($res_id,'$single');"
/>
Firing onClick submitted no matter what changeResolution() returned.
The fix for onClick was:
<input type="submit"
class="button-bold"
name="change_resolution"
id="change_resolution"
value="count $single"
onClick="this.disabled = true; var sbmt =
changeResolution($res_id,'$single'); this.disabled = false; return
sbmt;"
/>
Would someone please explain it. I can see submit is being disabled,
but why? Thank you.