Hello all.

I have this problem. I have a div with inactive buttons in a jsp page, buttons like
select all | add to basket | compare | ....
and some java logic determining whether any products (coming from a backend) are found on page load. I want to make this div appear when products are found and disappear when not.
Any help will much apreciated

Thanx in advance

9 Years
Discussion Span
Last Post by nick_katz

if your doing this in a JSP then you can either use CSS to hide/show the div, or you can just choose to not output the div in the JSP when you load the page.

Is that what you meant?


Thank you very much for your answer but it was simpler than I thought. Including the div's code in an if block with logic on whether products are found or not suffices. thanx anyway..

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.