public Method

GeneratorMethods.show(*ids)

Shows hidden DOM elements with the given ids.

Example:

# Show a few people
# Generates: ["person_6", "person_13", "person_223"].each(Element.show);
page.show 'person_6', 'person_13', 'person_223'

Source Code

# File action_view/helpers/prototype_helper.rb, line 798
def show(*ids)
  loop_on_multiple_args 'Element.show', ids
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.