getting a slide of 'data' returned by $.ajax
- by Thau
With $.ajax i'm getting a page dinamicly generated via PHP code, in the HTML returned I need only one object ('lwrapper' in my code).
How can I grabber 'lwrapper' from 'data' returned.
this is my code
$.ajax({
url: ref, //the url
cache: false,
success: function(data){
//code to get the slide of data
//slide = $("lwrapper",data) //not working
$('wrapper').html(slide);
}
});