如下code所示function myrefresh()
{
....
document.getElementById("wifi").disabled = true;
...
}
<body bgcolor="#FFFFFF" link="#0033CC" alink="#0033CC" vlink="#0033CC" onload="myrefresh()">
...
<td width=50% id="wifi" nowrap><b><font size=-1>SSID</font></b></td>希望将SSID灰调,在IE 下可以,在火狐下不行,请问该怎么 解决?谢谢了
{
....
document.getElementById("wifi").disabled = true;
...
}
<body bgcolor="#FFFFFF" link="#0033CC" alink="#0033CC" vlink="#0033CC" onload="myrefresh()">
...
<td width=50% id="wifi" nowrap><b><font size=-1>SSID</font></b></td>希望将SSID灰调,在IE 下可以,在火狐下不行,请问该怎么 解决?谢谢了
<tr>
<td style="color:#999999">文字显示灰色<br />
</td>
</tr>
</table>
如果要让文字不可选 <table width="300" border="1" cellspacing="0" cellpadding="0" onselectstart="return false;">
<tr>
<td style="color:#999999" onselectstart="return false;">文字显示灰色<br />
</td>
</tr>
</table>