如何在html上使用div标签中的jquery更改样式表?或者更改样式表的jquery代码是什么?
在javascript中,我们使用以下代码:
<script type="text/javascript">
function changeStyle() {
document.getElementById('stylesheet').href = 'design4.css';
}
</script>
Run Code Online (Sandbox Code Playgroud)
有jQuery的方式吗?