Hello,
You can look the code of the load function in the jQuery source. It's what i did few days ago whereas i want do this (filter the response). I make something like this : $.ajax({ url : 'remotePage.php', dataType : 'html', complete : function(response){ var filteredResponse = jQuery("<div />").append( response.responseText.replace( /<script(.|\s)*?\/script>/g, "" ) ).find('div#ajax'); $('div#ajaxContent').append((html)); } }); This script take only the text which is in the div#ajax bloc in the remote page. Then this content is put in the div#ajaxContent of the calling page. Sephi-Chan -- View this message in context: http://www.nabble.com/Adding-load-to-ajax-POST-function-tp16799597s27240p16799706.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.