Span inside div? problems in ie8?
I have span tag inside div tag.
var a = jQuery("<span class = 'B'>");
For some reason i am not able to see the contents of var a on i开发者_JAVA百科e., but I can see the contenet on mozilla.
You have no div there.
Try this one
var a = jQuery("<span />", {class:'B'}).appendTo('#yourDiv');
精彩评论