Why doesn't the jQuery .html() method work with custom tags in IE8?
Posted
by William Calleja
on Stack Overflow
See other posts from Stack Overflow
or by William Calleja
Published on 2010-03-12T09:40:34Z
Indexed on
2010/03/12
9:47 UTC
Read the original article
Hit count: 207
I have the following html code:
<mytag>
Just Some Text
</mytag>
And I have this jQuery command
$('mytag').each(function () { alert($(this).html()); });
In all browsers except IE I'm getting the inner HTML, in IE I'm not. Anyone can shed any light on this mystery? I've tested this with IE8, Mozilla, Opera, Chrome and Safari
© Stack Overflow or respective owner