From 03cb74b9461293b96ae0add8ff5efda132dabba0 Mon Sep 17 00:00:00 2001 From: Xavier Noria <fxn@hashref.com> Date: Tue, 6 Apr 2010 15:20:27 -0700 Subject: guides: adds support in the indexer for custom header IDs, and some refactors --- railties/guides/source/action_view_overview.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/guides/source') diff --git a/railties/guides/source/action_view_overview.textile b/railties/guides/source/action_view_overview.textile index 842a8408ad..df8cf4dc29 100644 --- a/railties/guides/source/action_view_overview.textile +++ b/railties/guides/source/action_view_overview.textile @@ -1304,7 +1304,7 @@ h4. PrototypeHelper::JavaScriptGenerator::GeneratorMethods JavaScriptGenerator generates blocks of JavaScript code that allow you to change the content and presentation of multiple DOM elements. Use this in your Ajax response bodies, either in a +script+ tag or as plain JavaScript sent with a Content-type of "text/javascript". -h5. << +h5(#push). << Writes raw JavaScript to the page. @@ -1312,7 +1312,7 @@ Writes raw JavaScript to the page. page << "alert('JavaScript with Prototype.');" </ruby> -h5. [] +h5(#at). [] Returns a element reference by finding it through it's id in the DOM. -- cgit v1.2.3