网页换肤

1.document.getElementById('link1').href='css1.css'

<input id="btn1" type="button" value="皮肤1" onclick="document.getElementById('link1').href='css1.css';" />
<input id="btn2" type="button" value="皮肤2" onclick="document.getElementById('link1').href='css2.css';" />

results matching ""

    No results matching ""