html
<script>
function changecss(){
var css=document.createElement('link');
css.href='c.css';
css.rel="stylesheet";
css.type="text/css";
document.body.appendChild(css);
}
window.onload=function(){
document.getElementById('changecss').onclick=changecss;
}
</script>
<span id="changecss">点</a>
css(c.css)
body{
background:red;
}
温馨提示:答案为网友推荐,仅供参考