I am using a "user control" which includes a button and other controls. I will put it in an aspx page I am using Javascript to dial the button. Any chance, is it possible to achieve this?
thanks
lija
me actually 'disabled ', But to remove it, you get an element in JavaScript in an object and use:
element.style .display = "none";
It takes away completely to use it as invisible:
element.style.visiblity = "hidden";
The easiest way to get an element in an object, once you know the value of the id attribute, then it is id = "bla", you
element = document.getElementById ("bla");
You can also use it:
document.getElementById ("bla"). Style.display = "none"; // etc
Of course, CSS is very easy, use it:
#bla {display: none;} / * etc, along with But I'm not sure what you mean with 'incompetence', not even idle with javascript, it is not a form of good security, javascript can be closed too, the source can be inspected That work around it. Edit: Some explanation: Display: None; Just believe it is not exactly at all. Visibility: hidden; It makes it completely transparent, but other elements around it are still kept as if it were there.
Comments
Post a Comment