strangeness: i have a setup where clicking on a dt causes a sibling dd to slideDown. this works fine *unless* the dd contains a script tag (fwiw, the script tag references a script on another server). when i click on this particular dt, both ie6 and ie7 crash (on different computers). any ideas?
[please feel free to point out better ways to do the other things i'm doing too] $(document).ready(function() { var rightCol = $('#right-col'); $('dl dd',rightCol).hide(); var rightColItems = $('dt',rightCol); rightColItems.each(function() { $(this).css({ cursor: 'pointer' }); $(this).click(function() { if ($(this).next('dd').is(':hidden')) { $('#right-col dd:visible').each(function() { $ (this).slideUp(); }); $(this).next('dd').slideDown(); } }); }); });