jQuery Mobile reading checkbox or radio
What is the official method to read the value of a checked radio/checkbox? Is there something I am not reading, because I can find out how to create but not read (or set) these input tags?
For example:
http://demos.jquerymobile.com/1.4.4/checkboxradio-checkbox/
It has proven frustrating bug tracing my code only to find why I was not saving my 'ticked' box values. In the end, I discovered a class "
ui-btn-active" is set when the operator 'ticks' a box and I must use this to get the corresponding value.
Other than the Demos and the API (which shows how to dynamically create a checkbox) I cannot find anything that describes how to read the selected values. Is there some documentation I should, but am not reading?
All help appreciated...