Pages

Monday, June 18, 2012

access denied javascript error internet explorer / resize access denied error javascript

Access denied JavaScript error in internet explorer
Initially i was thinking this error was coming because of some ajax cross domain access. Usually when you try to access different domain from your site, it gives you error for cross site scripting.

after long time, I found and observed that this access denied error is coming when i am trying to resize my internet explorer browser. It was random not all times.

I read below article and observed access denied error is coming only when i use to click mouse button and hold it for a while (just like dragging mouse ).

the reason is windows stops resizing or moving of any window when your mouse is clicked and hold on (ready for mouse drag event).

few tips to avoid this error on resize.
1. do your resize on page load not on jquery ready function.
    - because ready is faster then page load function. this may avoid user's holding mouse for a while.




see below article. this will be also helpful.

http://support.microsoft.com/kb/904947

No comments:

Post a Comment