The demo located HERE shows how to dynamically display content on demand. My question is how would I go about building on that so that I could expand/collapse the content contained in the DIV?
Thanks.
The demo located HERE shows how to dynamically display content on demand. My question is how would I go about building on that so that I could expand/collapse the content contained in the DIV?
Thanks.
Solved by adding the following after the "page_request.send(null)" line:
Code:var dv = document.getElementById(containerId); dv.style.display = (dv.style.display == 'block'? 'none':'block');
Bookmarks