tags:

views:

908

answers:

1

Why the following jQuery code doesn't work? I put a div element in the body already. Thanks!

$(document).ready(function(){
  $("div").load("http://www.pagetutor.com/index.html");
});
+6  A: 

Without having more info:

You can't load remote domain content unless it's json content.

This is a browser restriction.

altCognito