html+css+js jq的项目 想加一个全局组件 :jquery获取dom内的id,直接加载想要引入的页面–> <div id="page"></div> <script> $("#page").load("header.html"); </script>