inline text boxes in popup

inline text boxes in popup

Hi,

First post here, hit a roadblock with this over several days.  

Im trying to create a popup, with a form, but have the text in-line.


This is the code I've got that as far as i know should work

  1.  <div data-role="popup" id="popup-AP-edit" data-theme="a" class="ui-corner-all">
  2.         <form>
  3.         <div style="padding:10px 20px;">
  4.         <h3>Edit AP</h3>
  5.         
  6.         <fieldset data-role="fieldcontain">
  7.         <div class="ui-field-contain">
  8.           <label for="flip-AP">Enable:</label>
  9.           <select name="enable-AP" id="flip-AP" data-role="flipswitch" data-mini="true">
  10.             <option value="off">Off</option>
  11.             <option value="on">On</option>
  12.           </select>
  13.         </div>       
  14.         <div class="ui-field-contain">
  15.           <label for="flip-AP-hidden">Hidden:</label>
  16.           <select name="APhidden" id="flip-AP-hidden" data-role="flipswitch" data-mini="true">
  17.             <option value="off">No</option>
  18.             <option value="on">Yes</option>
  19.           </select>
  20.         </div> 
  21.         <div class="ui-field-contain">
  22.           <label for="text-AP-set-ssid">SSID:</label>
  23.           <input type="text" data-mini="true" name="setAPsetssid" id="text-AP-set-ssid" value="">
  24.         </div>
  25.         <div class="ui-field-contain">
  26.           <label for="text-AP-set-pass">Password:</label>
  27.           <input type="text" data-mini="true" name="setAPsetpass" id="text-AP-set-pass" value="">
  28.         </div>
  29.         <div class="ui-field-contain">
  30.           <label for="text-AP-set-channel">Channel:</label>
  31.           <input type="text" data-mini="true" name="setAPsetchannel" id="text-AP-set-channel" value="">
  32.         </div>
  33.         <div class="ui-field-contain">
  34.           <label for="text-AP-set-ip">IP:</label>
  35.           <input type="text" data-mini="true" name="setAPsetip" id="text-AP-set-ip" value="">
  36.         </div>
  37.         <div class="ui-field-contain">
  38.           <label for="text-AP-set-mac">MAC:</label>
  39.           <input type="text" data-mini="true" name="setAPsetmac" id="text-AP-set-mac" value="">
  40.         </div>
  41.         </fieldset>
  42.          <button type="button" class="sendsubmit ui-btn ui-corner-all ui-shadow ui-btn-b ui-btn-icon-left ui-icon-check">Apply</button>
  43.           </div>
  44.           </form

Using jQuery jquery-1.11.1, jquery.mobile-1.4.5

Many thanks