Peter Chan
asked on
Protect the label
Hi,
what is the way to protect the label below?
what is the way to protect the label below?
<input type="label" id="lb_p1" style="height:14px; width:92px; font-size:x-small; border:none; background-color:#1BA8E0" value="desc1" runat="server" /><br/>
What do you mean "protect"?
ASKER
Make it non-editable.
Labels are not editable by default unlike a textbox that is editable, so I don't understand your question
Just add disabled to the attributes. and it will not accept input.
Cd&
Cd&
ASKER
COBOL,
how to add "disabled"?
how to add "disabled"?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yeah label is not valid but that just means the browser will default to text. As fo adding disabled you just put it in the tag with the rest of the attributes. No offense intended, but is this your first attempt at HTML?
Cd&
Cd&