New
#1
IE9: Settings and system object not working
Hi everyone,
I've stumbled upon a delicate problem which I've now spent the last couple of hours researching on the internet with little success.
I'm creating a gadget which basic functionality relies on an IFRAME.
In this iframe I have a page loading with a bunch of ajax. Now bear with me because this is where it gets tricky.
This ajax page does not load if IE9 is in browser mode IE9 and document mode IE7,IE8 or BackComp/Quirk mode. I can explicitly set the document mode to IE9 at which point the browser mode and document mode is matching. This will make the ajax page load just fine but this creates another problem.
When IE9 is in IE9 browser/document mode, the settings button disappears. After some debugging I see that it is because it's most likely not recognizing the "System(.Gadget)" object. So it's either the main content not working or not being able to use the System object and settings properties.
To sum up: Gadget settings are not working when IE9 is in IE9 mode. Likewise if I set IE9 to be in IE8 mode the iframe stops working because of ajax errors.
Any help appreciated!
/Jonas