File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes column hide mozilla display  javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "column hide mozilla display  javascript" Watch "column hide mozilla display  javascript" New topic

column hide mozilla display javascript

Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1599
How di i hide a table column in mozilla javascript.i am able to hide it either by display : "none" or visibility:"hidden"
but the problem is in re-showing the same.

td.styledisplay="table-column";//does it work??"visible";
[ December 27, 2006: Message edited by: Bear Bibeault ]

Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

I got the References of these two elements of style with following keywords those you can use with in this property.


hope its helps.

[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Neerav Narielwala
Ranch Hand

Joined: Dec 08, 2006
Posts: 106"none" should work out..

<a href="" target="_blank" rel="nofollow">Java Tutorials</a> | <a href="" target="_blank" rel="nofollow">Java Weblog</a> | <a href="" target="_blank" rel="nofollow">Computing Articles</a>
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63529

As Neerav pointed out, display is the rule you seek, not visibility.

[Asking smart questions] [About Bear] [Books by Bear]
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1599

Above code works fine when i use tr id = hide_someindex. and it works fine in both IE and Firefox.

However when i use above code for td id = hide_someindex , it gives trouble in Firefox.
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1599
please change the onlod event ('a' intentionally removed due to some error.) before trying the code in browser.
I agree. Here's the link:
subject: column hide mozilla display javascript
It's not a secret anymore!