Side navigation
#6602 closed bug (invalid)
Opened May 26, 2010 05:51PM UTC
Closed May 27, 2010 01:44AM UTC
Chrome can't do: $(...).load(url, title);
Reported by: | matrym | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | ajax | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The solution was resolved to my satisfaction on stack overflow. I recommend either updating the documentation to explain the limitations, or adjusting the method to be cross-browser:
http://stackoverflow.com/questions/2911930/jquery-cant-load-the-head-title-in-chrome
TLDR:
$.get("http://fiddle.jshell.net/",
function(response){
alert((/<title>(.*?)<\\/title>/m).exec(response)[1]);
});
Attachments (0)
Change History (1)
Changed May 27, 2010 01:44AM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
The documentation for .load() currently says:
your example on SO seems to violate that rule. It might work on some browsers but is specifically documented as not supported.