if I do this:
$('#myDiv').load('/somepage.aspx #someDiv #someOtherDiv', function(data){
console.log(data);
});
In the console I see the whole page code, instead of the contents of #someDiv #someOtherDiv.
Is that right?
Thanks.
Yes, thats right. jQuery loads the whole page, but gets only the requested elements (#someDiv #someOtherDiv in your case) from it.