SCRIPT5: Access is denied in IE9 for iframe on the same domain SCRIPT5: Access is denied in IE9 for iframe on the same domain ajax ajax

SCRIPT5: Access is denied in IE9 for iframe on the same domain


I don't know anything about jQuery, but it is a common javascript error. IE doesn't allow forms with files attached to be submitted from a script.If you however place the form in a seperate file and load it into an iframe, frame.form.submit() will work.


I suggest you to use the lastest of JQuery(> jquery-1.8.0). Since the version 1.8.0, they solved somes IE9's bugs whose this error.

http://blog.jquery.com/2012/08/30/jquery-1-8-1-released/


I had the same issue. I was using the same versions as in the example. The example worked but I didn't manage to make it work in my app.

I'm using Backbone and I think it is related to creating the form dynamically, but unfortunately I didn't have time to debug the exact problem.

I moved to https://github.com/blueimp/jQuery-File-Upload, and now it works.