I want to change the background color after clicking
This is my HTML code
...
Your getclick() function should look like this:
function getclick(el) { el.style.backgroundColor='#888888'; }
In js, styles look a little different
and in your td, do
0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题