[SOLVED] replace radiobutton with jqm toggle switch in a <form>
I have chosen to replace radiobuttons with a toggle switch, but it somehow does not translate.
What's wrong?
original: radiobutton
- <form name="BRAND" >
- <input type="radio" name="MODEL" value="1" checked />
- <input type="radio" name="MODEL"value="2" />
- </form>
-
toggle switch.
- <form name="BRAND" >
- <select data-role="slider" name="MODEL" >
- <option value="1">sedan</option>
- <option value="2"> sportster</option>
- </select> </form>