internet explorer 9 - Javascript Array, Object, Date not defined -
strangest situation ever, i've reproduced on 3 pcs already. happens in internet explorer 9 (not 8, 9).
it happens @ site of friend, not plug, here url: ie bug javascript
the magic error happens when click 1 of links, example "nog fiscaal interessant ..."
this opens popup, inside iframe hosts movie player. movie frame complains, in ie9, "object not defined", "array not defined", "date" not defined.
what going on?
finally solved loading iframe dynamically.
the solution found on http://code.google.com/p/simplemodal/issues/detail?id=73
copy/paste here future reference:
i think issue more how ie9 handles iframe , subsequent loading of javascript in it... workaround set iframe src 'onshow' callback function , somehow stopped getting object undefined errors. hope helps.
function onshow(){ jquery("iframe").attr("src", "/goto/site"); }
another link possibly more info: http://msdn.microsoft.com/en-us/library/gg622929%28v=vs.85%29.aspx?ppud=4
the solution implemented loading iframe src after popup had rendered, instead of first loading iframe , showing popup.
thanks investigators!
Comments
Post a Comment