Why doesn't jQuery load () work?

Why is the following jQuery code not working? I have already added the div element to the body. Thanks!

$(document).ready(function(){ $("div").load("http://www.pagetutor.com/index.html"); }); 
+6
jquery
source share
1 answer

Without additional information:

You cannot upload remote domain content if it does not contain json.

This is a browser restriction.

+13
source share

All Articles