[SOLVED] replace radiobutton with jqm toggle switch in a <form>

[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
    1.    <form name="BRAND" >
    2. <input type="radio" name="MODEL" value="1" checked />
    3. <input type="radio" name="MODEL"value="2" />
    4. </form> 
    toggle switch.
    1. <form name="BRAND" >
    2. <select data-role="slider" name="MODEL" >
    3. <option value="1">sedan</option>
    4. <option value="2"> sportster</option>
    5. </select> </form>