开发者

Load a webpage in another webpage with jQuery using .load

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜