SCRIPT5: Access denied
jquery.min.js, line 3 char 3769
I\'m getting this error by simple form submit only in IE
$(\"#icon_upl\").
I had similar HTML and jQuery code and encountered the same issue (i.e. 'Access is denied.' JavaScript error in Internet Explorer), which I managed to resolve by taking pointers from this (great) answer.
In your instance:
Change the #icon_upl / to a and make use of the tag's accessibility features by setting the for attribute on it to point to your element.
This effectively makes your click() event handler redundant. However, clicking the in Firefox does not seem to trigger the file dialog so you'll need to perform a browser test and still have the click() event handler if the browser is Mozilla-based.
In order for it to work, you'll need to make sure that your file is not hidden by setting its position to be absolute and moving it off-screen.