2
我有两个html页面。和一个ccs文件。我需要知道是否有任何方法可以将一个html中的div标签中的所有内容复制到任何其他html中。例如动态html内容
CSS文件:
#block {
/* some code that doesn't matter */
}
主HTML:
<div id="block">
Some text inside div called "block" that is need to be showed in any others html pages with the
same div "block"
</div>
子html页面:
<div id="block">
Code that's need to be placed once to read all content from div "block"
</div>
从ajaxcall调用页面,然后解析后放入其他 –