method

text_field_with_auto_complete

Importance_2
v1.2.6 - Show latest stable - 1 note - Class: ActionView::Helpers::JavaScriptMacrosHelper
  • 1.0.0 (0)
  • 1.1.6 (0)
  • 1.2.6 (9)
  • 2.0.3
  • 2.1.0
  • 2.2.1
  • 2.3.8
  • 3.0.0
  • 3.0.9
  • 3.1.0
  • 3.2.1
  • 3.2.8
  • 3.2.13
  • 4.0.2
  • 4.1.8
  • 4.2.1
  • 4.2.7
  • 4.2.9
  • 5.0.0.1
  • 5.1.7
  • 5.2.3
  • 6.0.0
  • 6.1.3.1
  • 6.1.7.7
  • 7.0.0
  • 7.1.3.2
  • 7.1.3.4
  • What's this?
text_field_with_auto_complete(object, method, tag_options = {}, completion_options = {}) public

DEPRECATION WARNING: This method will become a separate plugin when Rails 2.0 ships.

Wrapper for text_field with added AJAX autocompletion functionality.

In your controller, you’ll need to define an action called auto_complete_for to respond the AJAX calls,

See the RDoc on ActionController::Macros::AutoComplete to learn more about this.

Show source
Register or log in to add new notes.
June 15, 2011
1 thank