[jQuery] How to refresh a single div with the data using .ajax
Hello there,
I am not sure, if this works. I make a function call with the ajax
option of jquery:
$.ajax({
type: "POST",
url: "some.php",
data: "name=test",
success: function(data){
$("#div").html(data);
}
});
If I try this, the whole response data is shown in the specific #div.
Is there any possibility to load only the content of "#div" from
some.php?
Thanks for your answers.
Regards