The following piece of JS which used to work in IE8 is failing now in IE9.
document.createElement(\'
If you are willing to sacrifice a little performance and can use an external library I would suggest using:
Prototype JS
var el = new Element('iframe', {
id: "",
src: "",
style: ""
});
jQuery
var el = jQuery('
This takes care of all the inconsistencies between browsers and is also a lot prettier :-)
Note: This is untested pseudocode - refer to the official documentation pages of Prototype JS and jQuery for more information.