title: JQM Flip toggle switch submit-function
body: <p>I like to use a jQuery mobile flip toggle switch to submit two status informations to control the two status of a relais.</p>
  
  <p>Instead of using:</p>
  
  <pre><code>&lt;input class="scene_btn" type="submit" onClick="request('key=1')" value="on" data-theme="d"&lt;/input&gt;
  &lt;input class="scene_btn" type="submit" onClick="request('key=2')" value="off" data-theme="d"&lt;/input&gt;
  </code></pre>
  
  <p>I'd like to use a jquery flip toggle switch, to switch on and off a relais.</p>
  
  <pre><code>&lt;form&gt;
  &lt;label for="flip-1"&gt;Flip toggle switch:&lt;/label&gt;
  &lt;select name="flip-1" id="flip-1" data-role="slider"&gt;
      &lt;option value="off"&gt;Off&lt;/option&gt;
      &lt;option value="on"&gt;On&lt;/option&gt;
  &lt;/select&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Does anybody know, how to to programm this?</p>