ajax - Why can't I load Flickr.com using jQuery .load method? -


my html code is:

<!doctype html> <meta charset="utf-8"> <title>untitled document</title> <script src="http://code.jquery.com/jquery-1.4.4.min.js"></script> <div id="abc"></div> <script>     $('#abc').load('http://www.flickr.com/'); </script> 

but in , there's nothing.

where error?

thank you!

the .load() function uses ajax. ajax doesn't work cross-domain, why isn't working.

you can use jsonp retrieve flickr data: http://api.jquery.com/jquery.getjson/


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -