Put an onkeyup event on all inputs, and test if values are the same as 
submitted ones.

R.

Le 29 oct. 2010 à 07:32, Brian McGonagill <[email protected]> a écrit :

> I have a form in HTML5, I have a submit button that I am making disabled 
> after the click so that the user won't click it again causing the Javascript 
> to run multiple times in the background...but I want to enable it again if a 
> change is made to the form.  
> 
> I used this.disabled=true for the initial disabling in the attribute of the 
> element event...but I don't know how to refer to it to show that if something 
> in the form is changed, to enable it again.
> 
> Any help is greatly appreciated. 
> 
> Brian
> -- 
> You received this message because you are subscribed to the Google Groups 
> "iPhoneWebDev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/iphonewebdev?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.

Reply via email to