Using a checkbox to disable and enable a combobox

What a good way to enable and disable a combobox with a checkbox?

<label><input type='checkbox' onchange='handleClick(this);'>Checkbox</label>
<label id="label"></label>

Thanks in advance :wink:

Nevermind i got it.

In the handleClick function i put an extra controle to display the combobox.

	 if(cb.checked)
	 {
	 document.getElementById('combo_zonecbtext').style.display = "none";
	 }
	 else
	 {
	  document.getElementById('combo_zonecbtext').style.display = "";
	 }