enable :: Form

enable(formElement) -> HTMLFormElement

 

Enables a fully or partially disabled form.

 

Enabling the form is done by iterating over form elements and enabling them.

 

Example

 

$(form).enable()

 

Note

 

This will enable all form controls regardless of how they were disabled (by scripting or by HTML attributes).


Prototype API 1.5.0 - prototypejs.org