I'm looking for a way to load a webpage in another webpage using .load
in jQuery.
The instructions listed on the page weren't very clear.
Let's say the domain is "example.com" and the page I'm tryin开发者_StackOverflowg to load is located at "example.com/page".
API explains enough: http://api.jquery.com/load/
$('#result').load('/page');
Where #result
is the div with id result. Inside that div, the page /page
will be loaded.
精彩评论