Form.Element

  • activate
  • clear
  • disable
  • enable
  • focus
  • getValue
  • present
  • select
  • serialize

API Docs

  • Utility Methods
  • Ajax
  • Array
  • Class
  • Date
  • Element
  • Element.Methods
  • Element.Methods.Simulated
  • Enumerable
  • Event
  • Form
  • Form.Element
  • Function
  • Hash
  • Insertion
  • Number
  • Object
  • ObjectRange
  • PeriodicalExecuter
  • Position
  • Prototype
  • String
  • Template
  • TimedObserver
  • document
  • document.viewport

enable

enable(element) -> HTMLElement

Enables a previously disabled form control.

Example

See the interactive example in the Form.disable() method, which is basically it.

© 2006-2007 Prototype Core Team | Licenses: MIT (source code) and CC BY-SA (documentation). mephisto-badge-tiny