$.get() external page and fetch title. googled a lot. didn't find any solution :(

$.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.
  1. $.get('http://google.com', function(data) {
  2. alert($("title", data).text());
  3. });

neither
  1. $.get('http://google.com', function(data) {
  2. alert($(data).html()); // nothing returns
  3. });
doesn't works.