Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Struts (1)
Windows (1)
XHTML (173)
Other Resources:
How to make elements invisible?
How to make elements invisible?
✍: Guest
Change the "visibility" attribute of the style object associated with your element. Remember that a hidden element still takes up space, use "display" to make the space disappear as well.
if ( x == y) {
myElement.style.visibility = 'visible';
} else {
myElement.style.visibility = 'hidden';
}
2009-02-03, 7763👍, 0💬
Popular Posts:
Can you explain why your project needed XML? Remember XML was meant to exchange data between two ent...
Is Session_End event supported in all session modes ? Session_End event occurs only in “Inproc mode”...
How do I install JUnit? First I will download the lastest version of JUnit. Then I will extract all ...
How To Set session.gc_divisor Properly? - PHP Script Tips - Understanding and Using Sessions As you ...
How can I include comments in HTML? An HTML comment begins with "<!--", ends with "-->...