Link to home
Start Free TrialLog in
Avatar of gregor2
gregor2

asked on

About blank iframe not running embedded javascript called from XHR

We have developed some Javascript that gets some content from a website using XHR and then writes to a new document (about:blank) within an iframe.

If the page contains embedded Javascript it’s not executed – it is not executed if its “in line” but it can execute if it’s called from a downloaded include.

In addition even though we set the base ref tag the “onpage “ links ie do not work and are interpreted as being on a different page (which is then attempted to be loaded).

Our app is designed to run on HTML5 as such an HTML 5 only solution would work for us
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial