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: |
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!
Attachments (0)
Change History (1)
Changed April 06, 2007 05:57PM UTC by comment:1
component: | ajax → event |
---|---|
resolution: | → wontfix |
status: | new → closed |
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 :-)