Checkbox for enable/Disable sereval select
Hi the community !
I try to make checkbox who could enable ans disable sereval select.
To began just one select.
I try it like that
- $("#checkbox-mini-0").click(function() {
$("select:enabled").$("select").attr({
disabled:"enabled"
});
});
Sure it's not work but if you give me some tips ;)
My actual code :
- <label for="checkbox-mini-0">Call me back immediately</label>
- <div class="ui-block-a">
<div class="ui-bar ui-bar-b no-border-bottom" style="width:218px">
<fieldset class="ui-controlgroup-popup" data-role="controlgroup" data-type="horizontal">
<legend>From:</legend>
<label for="start">START</label>
<select disabled="disabled" name="start" id="start">
- <option value="#">12h</option>
<option value="#">12h30</option>
<option value="#">1h</option>
<option value="#">1h30</option>
- </select>
- <label for="end">AM/PM</label>
<select name="end" id="end">
<option value="#">AM</option>
<option value="#">PM</option>
</select>
</fieldset></div>
- </div>
Thx for advance ;)