<script type="text/javascript">
$(function () {
var filename = '/assets/css/main.css';
var fileref = document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", filename);
document.getElementsByTagName("head")[0].appendChild(fileref);
var filescript = document.createElement("script");
filescript.type = "text/javascript";
filescript.src = "/assets/js/main.js";
document.getElementsByTagName('body')[0].appendChild(filescript);
});
</script>
作者:
毒逆天出处:
https://www.cnblogs.com/dotnetcrazy打赏:
18i4JpL6g54yAPAefdtgqwRrZ43YJwAV5z本文版权归作者和博客园共有。欢迎转载,但必须保留此段声明,且在文章页面明显位置给出原文连接!