I am tring to use HTML tags checkbox and textbox along with PHP.
When the checkbox is not checked,the textbox is disable.But when I checked the check box,the textbox should become enabled.
How can i do this?
Here is My code:-
<html>
<head> THIS IS TEST
<title> TEST </title>
</head>
<form>
<body>
CHECK BOX <input type="checkbox" name="htmlchk" value="chk"id="chk"><br>
TEXT BOX <input type="text" id="txt"disabled="True">
<?php
if($chk.CHECKED=="true")
{
$txt.disable="False"
}
?>
</body>
</form>
</html>
Please help me as soon as possible.