You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I have been playing around with BugBase. I really like how you hide and show the search criteria. I am new to Javascript, so hopefully my question won't seem foolish.
While playing around I wanted to see what would happen if I changed the javascript function ExpandCollapsePanel so that it would not change the style on the reportingSection div. So I commented out both lines of code that set the style on the reportingSection.
What surprised me is that commenting out that the two lines of Javascript had no affect on how the program ran. I was still able to expand and collapse the search criteria. I would appreciate understanding why.
IIRC, that code is in the ClientScripts.js file, right? If so, maybe this is a caching issue? Have you tried a hard refresh (Ctrl+F5) or clearing your cache?
IIRC, that code is in the ClientScripts.js file, right? If so, maybe this is a caching issue? Have you tried a hard refresh (Ctrl+F5) or clearing your cache?
Imar
Clearing my cache did the trick. Thanks so much, that would never have occurred to me.