getInputs :: Form |
Example
var form = $('myform')
form.getInputs() // -> all INPUT elements form.getInputs('text') // -> only text inputs
var buttons = form.getInputs('radio', 'education') // -> only radio buttons of name "education"
// now disable these radio buttons: buttons.invoke('disable')
Note
Input elements are returned in the document order, not the tabindex order. |
Prototype API 1.5.0 - prototypejs.org