Cannot select elements with jquery after a html() load in Internet Explorer 8. Mozilla works fine...
- by user641379
I have the following code that runs in a display:none; divtab1
function ToggleTab(tab_id)
{
$('.divtab1').html('<div class="promo2">Testing</div>...more');
$('.promo2').css("border", "1px solid gray");
}
html document:
<a href="javascript:ToggleTab(1);">try</a>
<div class="divtab"></div>
It works fine in…