Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1102 closed bug (wontfix)

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:

Description

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 http://www.outofhanwell.com/blog/index.php?title=the_window_onload_problem_revisited else if ( jQuery.browser.msie ) {

Only works if you document.write() it document.write("<scr" + "ipt id=ie_init defer=true " +

"src=':'></script>");

Use the defer script hack var script = document.getElementById("ie_init");

Thanks!

Change History (1)

comment:1 Changed 16 years ago by john

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 :-)

Note: See TracTickets for help on using tickets.