开发者

Load contents in 2 different div

开发者 https://www.devze.com 2023-02-04 08:09 出处:网络
I have a page \"work\" with 2 div: <div id=\"intro\"></div> <div id=\"images\"></div>

I have a page "work" with 2 div:

<div id="intro"></div>

<div id="images"></div>

Now I have lot of introductions and images and I would like to store these in different pages and when on the menu I click on specific link it load in the same page the contents of the relative page, Introduction into id#intro and images into id#imag开发者_运维技巧es.

I don't know how to do that...

Thanks!


You can use jQuery load method to load content dynamically into your divs.

0

精彩评论

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