Skip to main content

Bug Tracker

Side navigation

#1102 closed bug (wontfix)

Opened April 05, 2007 09:27PM UTC

Closed April 06, 2007 05:57PM UTC

Last modified June 19, 2007 10:00AM UTC

msie6 fails to load <script src=//:> url causing error

Reported by: m9x Owned by:
Priority: major Milestone: 1.1.3
Component: event Version: 1.1.2
Keywords: Cc:
Blocked by: Blocking:

Hi John,

Thank you for very good framework!

But would you please check a little issue:

HtmlUnit WebClient() fails to load html any page with jQuery.js script. It shows error that it can't connect to the url on the line with "document.write":

If IE is used, use the excellent hack by Matthias Miller

else if ( jQuery.browser.msie ) {

Only works if you document.write() it

document.write("<scr" + "ipt id=__ie_init defer=true " +


// Use the defer script hack

var script = document.getElementById("__ie_init");


Attachments (0)
Change History (1)

Changed April 06, 2007 05:57PM UTC by john comment:1

component: ajaxevent
resolution: → wontfix
status: newclosed

That's correct. Even though it's an invalid URL, it's that exact string that has to be provided such that this particular "document ready" hack will work. This is a case where WebClient is probably giving the correct error (since that URL is designed to not exist).

Glad you're enjoying jQuery :-)