jquery not showing up in IE?
I am pulling info from an XML fi开发者_C百科le and the div class="long"
works great but the anchor doesn't work or doesn't show up in IE. It works in all other browsers but NOT IE? any thoughts?
$(this).find('desc').each(function()
{
var url = $(this).find('url').text();
var long = $(this).find('long').text();
$('<div class="long"></div>').html(long).appendTo('#link_'+id);
$('<a href="http://'+url+'"</a>').html(url).appendTo('#link_'+id);
});
$('<a href="http://'+url+'"></a>').html(url).appendTo('#link_'+id);
?
You left the closing bracket of your a
tag open.
精彩评论