Others


Tutorial on enble disable textbox by checkbox

JavaScript

<SCRIPT LANGUAGE="JavaScript">
<!-- 	
function enable_text(status)
{
//alert(status);
status=!status;	
document.f1.other_text.disabled = status;
}
//  End -->
</script>

HTML

<form name=f1 method=post>
<input type="checkbox" name=others onclick="enable_text(this.checked)" >Others
<input type=text name=other_text>
</form>