Skip to main content

Bug Tracker

Side navigation

#9743 closed bug (invalid)

Opened July 05, 2011 12:15PM UTC

Closed July 05, 2011 01:28PM UTC

Last modified March 14, 2012 03:12AM UTC

jquery popup problem under IE9

Reported by: ensi_yes@hotmail.com Owned by:
Priority: low Milestone: 1.next
Component: misc Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:
Description

Hi,

i am trying to use jquery with IE9 but i am getting strange errors(i have tried multiple versions 1.6.1 1.6.2 1.4.2)

i have two kind of errors:

  • first: if i am including jquery script in my webpage it's working in the main page but when trying to use it in one popup i get this error:

SCRIPT5009: "$" is undefined after debugging IE9 i found that jquery could not be loaded which is not the case in my main page (so if you would say verify the given path i have done it and why it is working for the main page but not the popup further i have deleted cookies and caches to be sure that my jquery script file is downloaded correctly from my server)

*second: i have used an absolute path for jquery library

<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.js"></script>

<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.templates/beta1/jquery.tmpl.js"></script>

and like the first case it's working fine in the main page but not when trying to open in popup window (i have set the property to allow popups so it's not a question of blocking) the jquery library could not be loaded anymore

Further when i am trying to access to the jquery code directly using the url address just to check it i get this error

line : 12 (for http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.js)

16 (for http://code.jquery.com/jquery-1.6.2.min.js)

error: 'window' is undefined

code: 800A1391

runtime error in Microsoft JScript

in the other hand i have tested it with firefox and chrome and it's working wonderful in all above presented cases.

so i get error only with IE

Cheers,

Yassine

Attachments (0)
Change History (3)

Changed July 05, 2011 01:28PM UTC by timmywil comment:1

component: unfiledmisc
priority: undecidedlow
resolution: → invalid
status: newclosed

Thanks for taking the time to contribute to the jQuery project! Unfortunately, we cannot assist with third party plugins or debugging. If this is an issue with jQuery, please provide a test case on http://jsfiddle.net and we can reopen the ticket.

Changed July 20, 2011 06:24AM UTC by anjumrizwi comment:2

I am also facing the same issue with IE9. I tried with jQuery 1.6.1 & jQuery 1.6.2

Changed July 21, 2011 06:35PM UTC by anonymous comment:3

Replying to [comment:2 anjumrizwi]:

I am also facing the same issue with IE9. I tried with jQuery 1.6.1 & jQuery 1.6.2

see http://forum.jquery.com/topic/retrieved-html-data-type-with-jquery-ajax-in-ie9-scripts-tags-sources-could-not-be-loaded

in this address i have offened a question in jquery forum

there i describe my problem and a workaround for it

i have my application working fine but it's not an optimal solution