Javascript Array, Object, Date Not Defined
Solution 1:
Finally solved by loading the iframe dynamically.
The solution was found on http://code.google.com/p/simplemodal/issues/detail?id=73
Copy/paste here for future reference:
I think this issue is more to do with how IE9 handles iframe and subsequent loading of javascript in it... my workaround was to set iframe src only 'onShow' callback function and somehow i stopped getting those object undefined errors. Hope this helps.
function onShow(){ jQuery("iframe").attr("src", "/goto/site"); }
Another link with possibly more info: http://msdn.microsoft.com/en-us/library/gg622929%28v=VS.85%29.aspx?ppud=4
The solution implemented was loading the iframe src after the popup had fully rendered, instead of first loading the iframe and then showing the popup.
Thanks to all investigators!
Post a Comment for "Javascript Array, Object, Date Not Defined"