diff options
author | Xavier Noria <fxn@hashref.com> | 2010-04-06 15:20:27 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-04-06 15:20:44 -0700 |
commit | 03cb74b9461293b96ae0add8ff5efda132dabba0 (patch) | |
tree | ee7e7843a5efc03827103e6ea5921a332689bf96 /railties/guides/source | |
parent | 92eab845a422436aaba4abc9de90f937a91c6a4e (diff) | |
download | rails-03cb74b9461293b96ae0add8ff5efda132dabba0.tar.gz rails-03cb74b9461293b96ae0add8ff5efda132dabba0.tar.bz2 rails-03cb74b9461293b96ae0add8ff5efda132dabba0.zip |
guides: adds support in the indexer for custom header IDs, and some refactors
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/action_view_overview.textile | 4 |
1 files changed, 2 insertions, 2 deletions
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. |