|
-
August 22nd, 2010, 02:17 PM
#1
Javascript ignores my html sets.
Last edited by realchamp; April 5th, 2012 at 12:07 PM.
-
August 22nd, 2010, 07:17 PM
#2
Re: Javascript ignores my html sets.
That's because you are trying to make a <td> act as a block element when it is not.
Code:
function show(id) {
var e = document.getElementById(id);
e.style.display = (e.style.display == "none") ? "table-cell" : "none";
}
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
August 23rd, 2010, 01:50 AM
#3
Re: Javascript ignores my html sets.
Thanks it works perfectly
Last edited by realchamp; August 23rd, 2010 at 08:02 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|