Why doesn't the jQuery .html() method work with custom tags in IE8?
- by William Calleja
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