LADY SQL
Programming, dog shows and sundry thoughts happen...
Search this insane blog:
Tuesday, August 5, 2008
ASP with c#: make an object read-only
create an item as read-only
function setReadOnly(obj)
{
obj.readOnly = true
obj.style.color = "white"
obj.style.backgroundColor = "black"
obj.tabIndex = -1
}
if (form1.blaha.value == "blah ")
{
setReadOnly(form1.myobject)
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment