kiwistag
asked on
Safari having a spat with disable on submit code on website
It seems that Safari (often on an iPad) and in some rare cases other browsers will not contime when on a web Submit button this code is present to stop users clicking submit repeatedly:
Is there another more compatible way of doing it?
onclick='this.value = "Please wait..."; this.disabled = true'
Is there another more compatible way of doing it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It might be more efficient but I'm not sure it gets called if the user presses 'Enter' instead of clicking on the submit button. I know the 'onsubmit' does.
ASKER