Friday, October 2, 2009

[jQuery] Re: How to disable a form

Cecil Westerhof ha scritto:
> I want to disable a form when I submit it. The first reason is because
> I do not want the form submitted more as once. For this I could
> disable the submit button(s). But I also want the values not be
> changed during the submit. Is this possible?
>
On the beforesubmit event add the readonly attribute to every field.

Should work.. :-)

--
gianiaz.net - web solutions
via piedo, 58 - 23020 tresivio (so) - italy
+39 347 7196482

No comments: