I have a definition list on my page with a few pairs of DT and DD tags
in it. I am adding a click function to the DT tag which i've verified
as working in FF3 but when I use it in IE7, the last DT element does
not receive the click function.
Is there anything wrong with this code?
$(document).ready(function () {
//Toggle Faq Answers
$(".faqList dd").hide();
$(".faqList dt").add("dd").append("<span class=\"hr\"></span>").end
().click(function(){
$(".faqList
dt.isopen").removeClass("isopen").find("span").toggle
(300).end().next().toggle(300);
$(this).addClass("isopen").find("span").toggle(300).end().next
().toggle(300);
});
});
Using jQuery Minified 1.3.2
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---