I have a changing set of links in the content div of TabA. In each of those links there is an onclick to add content to a div in TabB and the active tab is changed to TabB.
This works well when I have one link, (actually it works for many links but only the first time, clicking subsequent links loads the content but we do not switch to TabB.
How would I alter this to use the class of the link instead? Or is there a better way altogether?
I have a changing set of links in the content div of TabA. In each of those links there is an onclick to add content to a div in TabB and the active tab is changed to TabB.
This works well when I have one link, (actually it works for many links but only the first time, clicking subsequent links loads the content but we do not switch to TabB.
How would I alter this to use the class of the link instead? Or is there a better way altogether?
Posted December 11th, 2007 at 5:11am by stevie