应该不是这个函数得问题,我在2000下得IE6坐了一个js得测试,
<head>
<LINK id=aa rel="stylesheet" href="style.css" type="text/css">
</head>
<script>
function aa(){
document.all.aa.href="style1.css";}
</script>
<body onclick=aa()>
sfgdsgstyle.css
body {color:red;}
style1.css
body {color:blue;}
可以修改没有问题得,还有你说得那个ZIP文件不能下载。
<head>
<LINK id=aa rel="stylesheet" href="style.css" type="text/css">
</head>
<script>
function aa(){
document.all.aa.href="style1.css";}
</script>
<body onclick=aa()>
sfgdsgstyle.css
body {color:red;}
style1.css
body {color:blue;}
可以修改没有问题得,还有你说得那个ZIP文件不能下载。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货