Load external site's content
问题 I need to display another external site's content into my site. Normally <iFrame> tag can do it. But my requirement is not whole content, only part of that site. For example that site's layout has 3 parts, <div id="header"> , <div id="sidebar"> , <div id="content" . I mean I want only display "id=content" part. How do I do it? I tried $("$my-content").load("http://www.anothersite.com #load-content") , but not working. 回答1: This is due to ajax cross domain security restrictions, one trick is