method
[]
v1.2.0 -
Show latest stable
-
1 note -
Class: ActionView::Helpers::PrototypeHelper::JavaScriptGenerator::GeneratorMethods
[](id)
public
Returns a element reference by finding it through id in the DOM. This element can then be used for further method calls. Examples:
page['blank_slate'] # => $('blank_slate'); page['blank_slate'].show # => $('blank_slate').show(); page['blank_slate'].show('first').up # => $('blank_slate').show('first').up();


