467,119 Members | 904 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,119 developers. It's quick & easy.

Hide A Table

I would like to hide a table based on a fields value that is outside the
table. Does anyone have an example of this?
Help appreciated.

Steve

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #1
  • viewed: 1118
Share:
1 Reply
> I would like to hide a table based on a fields value that is outside the
table. Does anyone have an example of this?
Help appreciated.


Use the onchange handler of the field to trigger the script which set the
table's style, i.e.

document.getElementById("myTable").style.display = "none"; // Set to "" to
display normally
.......
<table id="myTable">
.......
HTH,

KC
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by John M | last post: by
18 posts views Thread by Michael Skind | last post: by
1 post views Thread by Don Grover | last post: by
10 posts views Thread by oLE | last post: by
11 posts views Thread by jimstruckster@gmail.com | last post: by
10 posts views Thread by Phillip Vong | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.