Script: Dynamic Ajax Content: http://www.dynamicdrive.com/dynamici...jaxcontent.htm
Usage: I am using the Dynamic Ajax Content Script to show answers to a list of FAQs. For example,
h2><a href="javascript:ajxCall('faqs/busloan.html','faq1');">How can I apply for a business loan?</a></h2>
<div id="faq1"></div>
<h2><a href="javascript:ajxCall('faqs/creditcards.html','faq2');">Do you offer credit card processing services?</a></h2>
<div id="faq2"></div>
....
Problem/Question: Seeing that the dynamic content is not loaded in the same place, the new content does not replace the previous, thereby leaving multiple answers open without a way to close them. Is there as simple way to close all other divs when you click on a new one? Would appreciate any help...thanks!



Reply With Quote

Bookmarks