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
- <div data-role="popup" id="popup-AP-edit" data-theme="a" class="ui-corner-all">
- <form>
- <div style="padding:10px 20px;">
- <h3>Edit AP</h3>
-
- <fieldset data-role="fieldcontain">
- <div class="ui-field-contain">
- <label for="flip-AP">Enable:</label>
- <select name="enable-AP" id="flip-AP" data-role="flipswitch" data-mini="true">
- <option value="off">Off</option>
- <option value="on">On</option>
- </select>
- </div>
- <div class="ui-field-contain">
- <label for="flip-AP-hidden">Hidden:</label>
- <select name="APhidden" id="flip-AP-hidden" data-role="flipswitch" data-mini="true">
- <option value="off">No</option>
- <option value="on">Yes</option>
- </select>
- </div>
- <div class="ui-field-contain">
- <label for="text-AP-set-ssid">SSID:</label>
- <input type="text" data-mini="true" name="setAPsetssid" id="text-AP-set-ssid" value="">
- </div>
- <div class="ui-field-contain">
- <label for="text-AP-set-pass">Password:</label>
- <input type="text" data-mini="true" name="setAPsetpass" id="text-AP-set-pass" value="">
- </div>
- <div class="ui-field-contain">
- <label for="text-AP-set-channel">Channel:</label>
- <input type="text" data-mini="true" name="setAPsetchannel" id="text-AP-set-channel" value="">
- </div>
- <div class="ui-field-contain">
- <label for="text-AP-set-ip">IP:</label>
- <input type="text" data-mini="true" name="setAPsetip" id="text-AP-set-ip" value="">
- </div>
- <div class="ui-field-contain">
- <label for="text-AP-set-mac">MAC:</label>
- <input type="text" data-mini="true" name="setAPsetmac" id="text-AP-set-mac" value="">
- </div>
- </fieldset>
- <button type="button" class="sendsubmit ui-btn ui-corner-all ui-shadow ui-btn-b ui-btn-icon-left ui-icon-check">Apply</button>
- </div>
- </form
Using jQuery jquery-1.11.1, jquery.mobile-1.4.5
Many thanks