$.ajax get an element Content like load does $("body").load("link.php #DIV_THAT_I_WANT" ...

$.ajax get an element Content like load does $("body").load("link.php #DIV_THAT_I_WANT" ...

How do I get the element content like load does

 $("body").load("link.php #container");

and then he would get the "container" content and he would place in the body element of the page, but Now I need some other options that $.ajax has but I can't make it work, how do I do that using $.ajax?



Another thing in this example below: 

$("body").load("link.php #container", function(data){
      alert(data);
});

He would get the "container" div content and place in body, but when he alerts the data, its would not come the div content, it would alert the whole page of "link.php".


Is there any function to get the content of an element of a page in a string like the load does when the div is placed in $("#here") ?

Thanks in advance.