aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/javascript_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed that you can now pass an alternative :href option to ↵David Heinemeier Hansson2005-04-181-3/+3
| | | | | | link_to_function/remote in order to point to somewhere other than # if the javascript fails or is turned off. You can do the same with form_remote_tag by passing in :action. #1113 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Element.toggle, Element.show, and Element.hide to the prototype ↵David Heinemeier Hansson2005-04-171-12/+10
| | | | | | javascript library. Toggle.display has been deprecated, but will still work #992 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added submit_to_remote that allows you to trigger an Ajax form submition at ↵David Heinemeier Hansson2005-04-131-0/+14
| | | | | | the click of the submission button, which allows for multiple targets in a single form through the use of multiple submit buttons #930 [yrashk@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :confirm option to link_to_remote just like link_to has #1082 ↵David Heinemeier Hansson2005-04-131-1/+2
| | | | | | [yrashk@fp.org.ua] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added JavascriptHelper#periodically_call_remote in order to create areas of ↵David Heinemeier Hansson2005-04-071-0/+9
| | | | | | a page that update automatically at a set interval #945 [Jon Tirsen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Effects can just be used through the callbacksDavid Heinemeier Hansson2005-03-261-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated to prototype.js 1.1.0David Heinemeier Hansson2005-03-261-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixing JS bugs, renamed :position valuesDavid Heinemeier Hansson2005-03-261-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added other DOM manipulation positions than just replaceDavid Heinemeier Hansson2005-03-261-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :highlight effect to do YFT automaticallyDavid Heinemeier Hansson2005-03-261-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added JavascriptHelper#escape_javascript as a public method (was private) ↵David Heinemeier Hansson2005-03-261-3/+4
| | | | | | and made it escape both single and double quotes and new lines #940 [mortonda@dgrmm.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1002 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed documentation and prepared for 0.11.0 releaseDavid Heinemeier Hansson2005-03-221-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated more documentationDavid Heinemeier Hansson2005-03-221-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation and fixed an ajax bugDavid Heinemeier Hansson2005-03-221-5/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Last-minute ajax fixes #898David Heinemeier Hansson2005-03-221-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix for javascript_helper.rb build_callbacks #893David Heinemeier Hansson2005-03-211-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Wrong parameter names in observe_field/observe_formDavid Heinemeier Hansson2005-03-211-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a JavascriptHelper and accompanying prototype.js library that opens ↵David Heinemeier Hansson2005-03-211-215/+114
| | | | | | the world of Ajax to Action Pack with a large array of options for dynamically interacting with an application without reloading the page #884 [Sam Stephenson/David] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@955 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove the duplicated remote_function and make the real deal publicDavid Heinemeier Hansson2005-03-141-23/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made async callbacks work with :updateDavid Heinemeier Hansson2005-03-141-4/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made async the default approach and add get_elements_by_classDavid Heinemeier Hansson2005-03-141-10/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added asynchronous processing modelDavid Heinemeier Hansson2005-03-141-6/+71
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@902 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deal with Safari garbage and allow html_optionsDavid Heinemeier Hansson2005-03-131-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@897 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Field.present, .focus, and .clear as JS convenience for working with ↵David Heinemeier Hansson2005-03-131-15/+0
| | | | | | forms. Removed link_to_display_toggle in favor of link_to_function "Cancel", "toggle_display("add_item_link", "add_item_form")" git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Field.present, .focus, and .clear as JS convenience for working with ↵David Heinemeier Hansson2005-03-131-1/+26
| | | | | | forms. Removed link_to_display_toggle in favor of link_to_function "Cancel", "toggle_display("add_item_link", "add_item_form")" git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@895 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :condition option to abort an update if some condition isnt thereDavid Heinemeier Hansson2005-03-131-5/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@894 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Checked in some documentation for JavascriptHelperDavid Heinemeier Hansson2005-03-121-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Respect :onclick in link_to_toggle_displayDavid Heinemeier Hansson2005-03-121-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@891 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Put it in the right moduleDavid Heinemeier Hansson2005-03-121-130/+134
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@890 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added first stab at Javascript/Ajax helpersDavid Heinemeier Hansson2005-03-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added first stab at Javascript/Ajax helpersDavid Heinemeier Hansson2005-03-121-0/+160
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de