Process selected values in AutoSuggest Jquery Plugin

Drew's Avatar

Drew

10 Jun, 2013 05:36 PM

I have added the AutoSuggest Jquery Plugin to my Rails app and am able to select multiple suggestions and pass them to my controller.

However, under params the parameter is called 'as_values_24' ... where '24' is a number that is different upon every request. I was wondering if there were any good examples of how I can grab this parameter value regardless of the number at the end, and parse of the comma delimited ids? Any help is appreciated.

  1. 1 Posted by Drew on 10 Jun, 2013 05:43 PM

    Drew's Avatar

    Nevermind! figured it out ... asHtmlID :-)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac