inline tags not showing on ie using jQuery
I am facing problem rendering the contents of inline tag span. If i use div instead of span the contents are shown.
for (all objects in array) {
var A = jQuery("<img src='xyz'>")
if(some condition) {
var b = jQuery("<span class='X'>");
b.append(A);
A = b;
}
A.addClass(random);
} // for ends
In Ie8 n 9 the object which has condition true is not displayed. whereas it is displayed in mozilla, c开发者_开发知识库hrome, and safari.
any pointers will be really helpful.
精彩评论