Hi Guys. Am relatively new to Javascript and need some advice on whether I should be using JavaScript for the following. Below is a screenshot of what my boss wants.
These are 3 Individual reports. The have been created by using JSP code which queries the database and generates these reports. What my boss wants is for reports to collapse/expand when the user clicks on the Hide Details Button using Javascript without repainting the page. Can this be done as the JSP’s themselves are pretty complex and resource intensive. Would the Javascript have to envelope the JSP code? I guess so. Is there any good robust javascript solution or should I just stick to repainting the whole page when he clicks the Hide Details Link. I wouldn’t mind buying a script if need be.
The data for all reports is available when the page loads and hence we wont have to make any database calls to Hide/Show.
Any guidance, Help reference greatly appreciated.

These are 3 Individual reports. The have been created by using JSP code which queries the database and generates these reports. What my boss wants is for reports to collapse/expand when the user clicks on the Hide Details Button using Javascript without repainting the page. Can this be done as the JSP’s themselves are pretty complex and resource intensive. Would the Javascript have to envelope the JSP code? I guess so. Is there any good robust javascript solution or should I just stick to repainting the whole page when he clicks the Hide Details Link. I wouldn’t mind buying a script if need be.
The data for all reports is available when the page loads and hence we wont have to make any database calls to Hide/Show.
Any guidance, Help reference greatly appreciated.
Comment