aboutsummaryrefslogtreecommitdiffstats
path: root/demos/selectmenu
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2011-09-24 04:04:54 +0200
committerFelix Nagel <info@felixnagel.com>2011-09-24 04:04:54 +0200
commit35289489c4e6272fb6396e89f08a948df506099e (patch)
tree039ae4cb5beb2627f1cd4ccbc0f8de0e307e981a /demos/selectmenu
parent1d9fac52f758579941691e202f47062b9e6c56df (diff)
downloadjquery-ui-35289489c4e6272fb6396e89f08a948df506099e.tar.gz
jquery-ui-35289489c4e6272fb6396e89f08a948df506099e.zip
Selectmenu: implemented disable for option and optgroup, code cleanup
Diffstat (limited to 'demos/selectmenu')
-rw-r--r--demos/selectmenu/default.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/selectmenu/default.html b/demos/selectmenu/default.html
index cbeb62710..c4393b570 100644
--- a/demos/selectmenu/default.html
+++ b/demos/selectmenu/default.html
@@ -41,7 +41,7 @@
<select name="speedA" id="speedA">
<option value="Slower">Slower</option>
<option value="Slow">Slow</option>
- <option value="Medium" selected="selected">Medium</option>
+ <option disabled="disabled" value="Medium" selected="selected">Medium</option>
<option value="Fast">Fast</option>
<option value="Faster">Faster</option>
</select>
@@ -60,8 +60,8 @@
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
- <option value="11">11</option>
- <option value="12">12</option>
+ <option disabled="disabled" value="11">11</option>
+ <option disabled="disabled" value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
@@ -75,12 +75,12 @@
<br />
<label for="filesC">Select a file:</label>
<select name="filesC" id="filesC">
- <optgroup label="scripts">
+ <optgroup disabled="disabled" label="scripts">
<option value="jquery">jQuery.js</option>
<option value="jqueryui">ui.jQuery.js</option>
</optgroup>
<optgroup label="Label with space">
- <option value="somefile">Some unknown file</option>
+ <option disabled="disabled" value="somefile">Some unknown file</option>
<option value="someotherfile">Some other file</option>
</optgroup>
</select>