jQuery Can't $(...).load() the head title in Chrome

Posted by Matrym on Stack Overflow See other posts from Stack Overflow or by Matrym
Published on 2010-05-26T10:09:40Z Indexed on 2010/05/26 10:11 UTC
Read the original article Hit count: 282

Filed under:
|
|
|
|

I need to get the title of a remote page by URL. The code works in FFX, but not chrome. Anyone have any ideas?

$(document).ready(function(){
    $("title").remove();
    $("head").load("http://www.latentmotion.com title");
});

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery