diff options
author | Felix Nagel <info@felixnagel.com> | 2011-09-24 04:04:54 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2011-09-24 04:04:54 +0200 |
commit | 35289489c4e6272fb6396e89f08a948df506099e (patch) | |
tree | 039ae4cb5beb2627f1cd4ccbc0f8de0e307e981a /demos | |
parent | 1d9fac52f758579941691e202f47062b9e6c56df (diff) | |
download | jquery-ui-35289489c4e6272fb6396e89f08a948df506099e.tar.gz jquery-ui-35289489c4e6272fb6396e89f08a948df506099e.zip |
Selectmenu: implemented disable for option and optgroup, code cleanup
Diffstat (limited to 'demos')
-rw-r--r-- | demos/selectmenu/default.html | 10 |
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> |