I want load cross domain html into my div using ajax call. I have tried YQL but it is not working.
$.ajax({
url: htmlURL,
success: function(data){
$('#divID').append(data);
},
error: function(xhr, status){
alert('error'+xhr);
}
})
It should be only client side code, no server side code.