注册 登录
编程论坛 jQuery论坛

请问怎么动态的获取li下面的所有信息,把他追加到另一个ul下的里里面去

qzx10010 发布于 2018-09-08 12:56, 2761 次点击
                            <div class="contains">
                        <ul>
                                <li>
                        <div class="work-cover">
                        <a href="#" title="宇宙战狼">
                            <img src="img/cover_1.jpg"/>
                        </a>   
                        </div>
                        <div class="information">
                            <h3>
                                <a href="#" title="宇宙战狼">宇宙战狼</a>
                                <i class="information-icon-sign">
                                    <span class="spaico">
                                        签约
                                    </span>
                                </i>
                                <i class="information-icon-info information-icon-sign">
                                    <span class="spaico">
                                        精品
                                    </span>
                                </i>
                            </h3>
                            <p title="悟漫田 图:翟浩羽 文:翟浩羽" class="information-workers">悟漫田 图:翟浩羽 文:翟浩羽
                            </p>
                            <p>
                                <a href="#">科幻</a>
                                <a href="#">冒险</a>
                                <span >
                                    "人气:"
                                    <em>3934.25万</em>
                                </span>
                            </p>
                            <p class="juqing">
                                一个失误造就了魇兽横行的废土未来;又一个失误成就了血性英雄的力挽狂澜。狂沙、兽海、以及挣扎扭曲的赤裸
                            </p>
                            <a href="#" class="reds">开始阅读</a>
                        </div>
2 回复
#2
wlrjgzs2018-09-10 10:22
请问楼主,你想怎么个动态法?

[此贴子已经被作者于2018-9-10 23:31编辑过]

#3
qzx100102018-09-11 19:53
回复 2楼 wlrjgzs
就比如说哈,我现在在ifream子页面里面有个ul 下面有li,我想将某个li里的内容添加到主页面的一个ul下面去,就相当于复制一次li,现在是一个页面不能获取另一个页面的jq的信息
1