UPDATE:
Within the function, I get the parent div elements ID.
var divId = $(this).parents(“div[id^=tabs-]”).attr(“id”);
Then I thought I could use this ID of that div, to select the link
that has that ID as an anchor? But this last part just returns [Object
object]?
alert($(#tabs ul li
var divId = $(this).parents(div[id^=tabs-]).attr(id);
var sTag = inner tab: + $(#tabs ul li a[href=#+ divId
+]).text
();
sTag = sTag + \nmain tab: + ui.tab.textContent;
alert(sTag);
On 7 Oct, 10:26, Dylan dylan.h...@gmail.com
2 matches
Mail list logo