$.get() external page and fetch title. googled a lot. didn't find any solution :(
Hi!
I've googled a lot, but didn't found any solution to fetch title from loaded page.
-
$.get('http://google.com', function(data) {
-
alert($("title", data).text());
- });
neither
-
$.get('http://google.com', function(data) {
-
alert($(data).html()); // nothing returns
-
});
doesn't works.