Prototype Javascript Framework

easing the pain of dynamic web applications

  • Developer Day
  • Download
  • API Docs
  • Tips and Tutorials
  • Blog
  • Discuss
  • Contribute

Form

  • disable
  • enable
  • findFirstElement
  • focusFirstElement
  • getElements
  • getInputs
  • request
  • reset
  • serialize
  • serializeElements

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
  • Learn more about Prototype »

getElements

getElements(formElement) -> array

Returns a collection of all form controls within a form.

Note

OPTION elements are not included in the result; only their parent SELECT control is.

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