Is it possible to address new HTML5 elements in legacy browsers?
$("section").each(function() {
alert($(this).html());
});
This does not seem to work e.g. in IE8; $(this) seems to compute to null. Selectors do only seem to work when the UA actually added the element to the DOM.
Is there a way to recognize unknown elements with jQuery, and perform operations on them? (This would be handy e.g. to replace a <section> by a <div>, or a <video> by an <object> with a flash player and so on.)