AJAX Tricks and Prototype
$(id | element)
returns an HTMLElement (or array). $$(cssRule)
returns an HTMLElment
array. $F(element)
returns value of a form
control. $H([obj])
creates a Hash table. $R(start, end)
returns an ObjectRange:
$R(5, 23)
$w(String)
splits a string into an array using whitespace as delimiter.Try.these(Function...)
tries all functions until one that does not throw an error. document.getElementsByClassName(className)
returns an HTMLElement. 9 of 16