Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
sumeet gupta
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you really not indent your code?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic