Tutorial on enble disable textbox by checkbox
<SCRIPT LANGUAGE="JavaScript">
<!--
function enable_text(status)
{
//alert(status);
status=!status;
document.f1.other_text.disabled = status;
}
// End -->
</script>
<form name=f1 method=post>
<input type="checkbox" name=others onclick="enable_text(this.checked)" >Others
<input type=text name=other_text>
</form>