Possible Duplicate:
Ways to circumvent the same-origin policy
I searched for this code for load specific div from another site can any one write an example for this code in jsfiddle???
$.ajax({
url: 'http://something.com',
type: 'GET',
success: function(res) {
var loadIt = $j(res.responseText).find('#divname').html();
$('#m').html(loadIt);
}
});
if is a better way ?????