What if I request the URL http://www.google.com via AJAX, for example and in the on success
function I just wanted to display the I'm feeling lucky button in some div?
For example
$.ajax({
url: 'www.google.com',
success: function(html) {
$('div').html(html);
}
});
this is for displaying the whole page, but I want only to display the button. How do I do that?