I'm trying to call a Javascript code inside iframe.
This is the image of my app.
[login to view URL]
In this project, if you push the button, the code on the editor will sent to the console below and the code will be evaluated. I made a success on Firefox, but I couldn't call it on Chrome and Internet Explorer.
The console says as follows:
Uncaught DOMException: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "null" from accessing a cross-origin frame.
I guess this is because of Cross Domain problem of HTML5.
I'd like you to fix the problem and make it run on Chrome and IE.
If you're good at JavaScript and HTML5, you can fix this problem at once.
This is the code of the project.
[login to view URL]
I'd appreciate your help.