I\'m loading a page through AJAX with jQuery\'s load()
function. It doesn\'t work in IE8, giving the \"permission denied\" error. Using the IE debugger, it seems th
Just for the reference:
I experienced this error on Windows 8 with IE 10 inside my WinForms application.
In this application, I'm hosting a WebBrowser control that loads its content from a built-in web server and also communicates via window.external
with my host WinForms application.
Enough keyword fishing.
Getting this error
Now what happens to get this jQuery error in my application was:
After closing this form, the jQuery error was shown.
Resolving this error
I resolved the error by postponing the opening of the child form until the application was idle.
I.e. I used a Queue
list inside my main form, subscribed to the Application.Idle
event and inside this event handler, I processed the queue, one by one.
The new steps now were:
Then, the error was gone.
I guess, instead of using this idle processing, I also could have waited until the web browser finished its loading by subscribing to the DocumentCompleted event and show the child dialog from there.
Hope this will help someone...