aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Need to Hide Table inside div:Code is Working Fine in FireFox but Not in IE..Please Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Need to Hide Table inside div:Code is Working Fine in FireFox but Not in IE..Please Help" Watch "Need to Hide Table inside div:Code is Working Fine in FireFox but Not in IE..Please Help" New topic
Author

Need to Hide Table inside div:Code is Working Fine in FireFox but Not in IE..Please Help

sumeet gupta
Ranch Hand

Joined: Aug 31, 2008
Posts: 33
Hi Ranchers,

I need to hide one table inside a div , I wrote one java script for this. My Code is working fine in firefox but not working in IE. Please help me to resolve this issue.
This is my Jsp..



and this is my javascript function.





Thanks,
Sumeet Gupta
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Looks like you did not click the Disable HTML code when you posted. Can you repost your code with that checkbox checked.
sumeet gupta
Ranch Hand

Joined: Aug 31, 2008
Posts: 33
Hi Eric,

Reposting Code with Disable HTML Option Checked this time. Thanks for reminding ...



and here is java script function...




Thanks,
Sumeet
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Okay, I was hoping to see your showHide function calls, but I am not. What does one of those look like and what is it hiding exactly.

Eric
sumeet gupta
Ranch Hand

Joined: Aug 31, 2008
Posts: 33
Hi Eric,

Previously I had pasted only div part of my code. Here is my whole code along with the function call which you were talking about.



Thanks,
Sumeet
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61432
    
  67

Do you really not indent your code?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to Hide Table inside div:Code is Working Fine in FireFox but Not in IE..Please Help