Does anyone know how to set the value of a jQuery mobile flip switch using just php? I have tried the below without any luck. Any ideas would be appreciated!
<?php
ifFilled = '1';
?>
<select name="flip-min" id="flip-min" data-role="slider">
<option value="1" <?php echo $isFilled == '1' ? ' selected="selected"' : '';?>>Filled</option>
<option value="0" <?php echo $isFilled == '0' ? ' selected="selected"' : '';?>>Un-Filled</option>
</select>
opps $ifFilled does not match $isFilled lol dummy of the year award over here!!! the code works fine other than that....