mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: Add a disabled-default option example to default demo
Ref gh-1520
This commit is contained in:
parent
c5b215e319
commit
2d0f05b25d
@ -22,6 +22,8 @@
|
|||||||
.selectmenu()
|
.selectmenu()
|
||||||
.selectmenu( "menuWidget" )
|
.selectmenu( "menuWidget" )
|
||||||
.addClass( "overflow" );
|
.addClass( "overflow" );
|
||||||
|
|
||||||
|
$( "#salutation" ).selectmenu();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
@ -87,6 +89,16 @@
|
|||||||
<option>18</option>
|
<option>18</option>
|
||||||
<option>19</option>
|
<option>19</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<label for="salutation">Select a title</label>
|
||||||
|
<select name="salutation" id="salutation">
|
||||||
|
<option disabled selected>Please pick one</option>
|
||||||
|
<option>Mr.</option>
|
||||||
|
<option>Mrs.</option>
|
||||||
|
<option>Dr.</option>
|
||||||
|
<option>Prof.</option>
|
||||||
|
<option>Other</option>
|
||||||
|
</select>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user