View Full Version : content tab

09-26-2010, 11:28 AM
1) Script Title: content tab

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm

3) Describe problem:

In the divs "country1" and "country2" of tab content, I included a select control. Depending on selection, some information is loaded.
Everything works fine onload of page.
My problem is that if i go to country2 tab and select some value and then I come back to country1, in div country1 the default information does not load.

To see the script in action, please visit

09-26-2010, 04:11 PM
I'd try adding the highlighted as shown:

. . .
function HandleExtChange() {
location.href="indecsi.asp?index=" + document.extern.extindexes.value;

<script type="text/javascript">
setTimeout(HandleChange, 100);
setTimeout(HandleExtChange, 100);

<ul id="countrytabs" class="sh . . .

09-26-2010, 04:36 PM
Thank you! Your solution is great! Works wonders!