• Post Reply Bookmark Topic Watch Topic
  • New Topic

stopping a table from collapsing when clicking on image its getting reloaded

 
Munna Kanu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I am new to JSP. I have developed a tree structure of arranging all the data into number of appropriate folders which intern have documents belonging to each of those folders. I have like 27 folders and appropriate documents under each. Present state of the form is collapsed that means when we hit that page all the folders have been collapsed. But for example i went to folder '3' and click one of the document it displays the image viewer next to it and the folder i had opened gets collapsed. But it shouldnt be like that the folder i had expanded should be open and rest all collopased.

Here main thing is when i click on the image document the complete page gets reloaded by which the collapse all function is being executed at the end, and all the folders are being collapsed.

So i hope i get the solution for this asap.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Munna Kanu wrote:So i hope i get the solution for this asap.


What have you done so far? and what are you having trouble with? People here will be glad to help you out, but are not going to do your work for you.

Also, this is something that would be much better handled with JavaScript rather than JSP with page reloads.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!