I have encountered an interesting problem. I am using an iframe
to display a page of my site. I load jquery this way:
<script type="text/javascript" src="/js/lib/jquery-1.10.1.min.js"></script>
The library is at the place where I have been referring to. However, when IE tries to load jQuery, I get the error:
Object doesn't support property or method 'attachEvent'.
I have been looking at this question, however, the proposed solution had no effect on the error shown above. I have already loaded jQuery from my project, as shown in the html snippet. I have tried to download jquery-1.8.3.js, but when tested, I got the same problem.
My page displayed in the iframe works perfectly under Chrome and FireFox. Is there a solution to my problem or should I start the Blair Witch project and modify my code to have no jQuery-specific part in it?