可以的不用js也行,用CSS控制.........
解决方案 »
- 哪位高手能帮我看看关于onsubmit的问题
- 一个很奇怪的问题,关于parseInt的,谁告诉我为什么?
- 技术求助:body onload和window onload冲突如何解决!
- ext grid ColumnModel 外部css
- 用js如何获取asp.net中radiobuttonlist中的文本值?
- 请各位高手帮忙看看~~先谢了!帮顶也给分
- 求一正则表达式,允许输入字母首尾空格,中间空格
- 求救于各位大侠:javascript中二维数组如何输出?请光临。。。。
- js 获取 字符串中 特定 字符的 个数
- js时间增加的问题?
- 谁能给一个可以动态调整table的列的宽度的例子啊?
- 搜索的问题?请教
<!--
A:link{text-decoration:none}
A:visited{text-decoration:none}
A:hover {color: #ff00ff;text-decoration:underline}
-->
</style>
<style>a{TEXT-DECORATION:none}</style>
</head>
<A HREF="#" onclick="var t = this.style.textDecoration;if(t=='underline'){this.style.textDecoration='none';this.style.color='red';} else {this.style.textDecoration='underline';this.style.color='green';}" style="text-decoration:underline;">wwww.163.com</A>
</BODY>
var enable=true;
</script>
...
<a href="..." style="text-decoration:none" onclick="return enable">...</a>
<input type="button" onclick="enable=!enable">
同时也谢谢各位