Change flipswitch by javascript
I need to change this flipswitch by javascript. I don't find how to proceed.
Thanks for your help.
<div data-role="page" class="demo" data-title="Panel fixed positioning">
<form>
<fieldset>
<div data-role="fieldcontain">
<select class="myflipswitch" data-role="flipswitch">
<option value="0">Off</option>
<option value="1">On</option>
</select>
</div>
</fieldset>
</form>
</div>