Flowdock
method

update_page_tag

Importance_1
v1.2.6 - Show latest stable - 0 notes - Class: ActionView::Helpers::PrototypeHelper
update_page_tag(html_options = {}, &block) public

Works like update_page but wraps the generated JavaScript in a <script> tag. Use this to include generated JavaScript in an ERb template. See <a href="/rails/ActionView/Helpers/PrototypeHelper/JavaScriptGenerator">JavaScriptGenerator</a> for more information.

html_options may be a hash of <script> attributes to be passed to ActionView::Helpers::JavaScriptHelper#javascript_tag.

Show source
Register or log in to add new notes.