Changing Checkbox and Radio Buttons from Javascript.
I have a form that I want to populate based on which 'line' of data I am on. The form as a couple of checkboxes in it.
I know that I can find the various UI pieces that need to be changed and add/change classes. But this requires that my code be aware of some of the inner workings of Mobile.
I was hoping that there would be a way to "trigger an event" (maybe?) that tells Mobile..
"Hey.. I changed the state of this checkbox/radiobutton.. make yourself look that way".
I tried
$("#checkhere").checked=false;
$("#checkhere").trigger("change");
but that didn't seem to make any difference.