i'm loading a site "B", which is using canvas, into site 'A'. iframe was an easy option and is working great but i want to do it using jQuery. I tried using ".load" and "$.ajax" the site "B" is giving error javascript is disabled on your browser...below is the code...
if i directly load that site into another window it works well..I do not want to use iframe .. i need to load it in some div
using .load...
$("#dataLoader").load('http://www.xyz.com');
and using ajax...
$.ajax({
url: "http://www.xyz.com",
cache: false
}).done(function( html ) {
console.log(html)
$("#dataLoader").append(html);
});