给tr取个名字,比如叫hehe
function changebg()
{
hehe.style.backgroundColor = "#ff0000";
}
function changebg()
{
hehe.style.backgroundColor = "#ff0000";
}
解决方案 »
- js 正则表达式问题
- 还是javascript引用问题,引入js文件和document.write顺序问题
- textbox的onblur和button的onclick的问题
- 多个参数怎么写
- 规范的重要性大家发表下看法
- 怎么让某ip的访客每天只能刷新10次?
- 在客戶端改變事件問題
- 复选框的问题---我的分就这些了。谢谢!
- 请问:通过href传递给read.htm的参数,在modify中如何取得(get)?
- 推荐一个优秀的东东,不来会后悔的.
- 急救:如何将阿拉伯数字转换成中文大写,如:'1228008.98' 转换为 '壹佰贰拾贰万扒仟零扒圆玖角扒分'各位大虾给看看,一定给分!!
- 用Javascript怎样对剪切板进行操作
function changebg(a)
{
a.backgroundColor = "red";
}
</script>
function changebg(a)
{
a.backgroundColor = "red";
}
</script>
function changebg(a)
{
a.style.backgroundColor = "red";
}
</script>