i want to hide a td value to the users. how to make hide the values in <td> of html table? i have tried width=0px, width="0%". but it doesnt works.
hide <td> value in html table?
Collapse
X
-
Tags: None
-
You are probably wanting something like this (Javascript):
Code:<script language="JavaScript"> function toggleVisibility(me){ if (me.style.visibility=="hidden"){ me.style.visibility="visible"; } else { me.style.visibility="hidden"; } } </script>
<div onclick="toggle Visibility(this )" style="position :relative">
Some sample Text</div>
<div>I don't move</div>
[/html]
Or if you want to use CSS:
Code:visibility: hidden;
Comment