Rails: How do you access the value from a jQuery Mobile slider?

Asked by on 2012-05-24T19:16:36-04:00
I'm trying to access the value that a user chooses by manipulating the jQuery Mobile slider. For example, I have a slider that ranges from 1 to 10. The user moves the slider to 5. How can I send that '5' to a controller?

I've read through about 10 separate examples, and they all gloss over how to actually access the data from the slider.

Is a params hash created? Do I need to put the slider within a form_for Rails element? Any examples of actually using the value from a jQuery Mobile slider?


Best Answer

Answered by on 2012-05-24T21:42:35-04:00

Your Answer
No advertising and No spamming please.

All Answers

Answered by on 2012-05-25T06:38:54-04:00