Difference between revisions of "Widget:ExpandAccordion"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 5: | Line 5: | ||
jQuery(document).ready(function () { | jQuery(document).ready(function () { | ||
var anchor = window.location.hash; | var anchor = window.location.hash; | ||
alert($(anchor).prop('tagName')); | alert($(anchor).previousSibling.prop('tagName')); | ||
jQuery(anchor).collapse('show'); | jQuery(anchor).collapse('show'); | ||
}); | }); | ||
</script> | </script> | ||
</includeonly> | </includeonly> |