[development] Disabling a form button after a click doesn't work?

Andy Triboletti andy.triboletti at gmail.com
Thu Jun 21 20:45:25 UTC 2007


I'm trying to disable the  submit button of my form and set the value to
"waiting.." after someone clicks.

In my javascript I'm doing:

$("#node-form .form-submit")[0].disabled=true

However with that added, the form can never be submitted successfully
--it throws you back to the form but without any visible errors.  (I
take it out and it works)

Any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20070621/075be62d/attachment.htm 


More information about the development mailing list