This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin 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  RSS feed

 
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
Posts: 66188
151
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!