hi.. i have a tickbox that enables and disables a textbox..
when it is ticked the user can type in it.. when unticked they cannot type in it.
the tutorial i found said that the textbox should start disabled.. so i use the following code and it works.. problem is the disabled part is not valid..
is there something i can add such as..
status="disabled".. or something like that.. cheers.
when it is ticked the user can type in it.. when unticked they cannot type in it.
the tutorial i found said that the textbox should start disabled.. so i use the following code and it works.. problem is the disabled part is not valid..
is there something i can add such as..
status="disabled".. or something like that.. cheers.
Code:
<p><input disabled style="margin-left:20px;width:200px;" type="text" class="txtbox" id="nameboard" name="nameboard" /></p>