1
aveline 2012-07-11 10:34:50 +08:00
Error
line: 3 message: "'undefined' is not an object (evaluating 'this.style.backgroundColor = "rgb(255, 255, 0) "')" sourceId: 4502439400 __proto__: Error |
3
aveline 2012-07-11 10:40:52 +08:00
用document.getElementById('东西的id')代替this试试?
|
5
aveline 2012-07-11 10:57:05 +08:00
开Console看看?
|
7
aveline 2012-07-11 11:01:08 +08:00
|
9
uoryon OP |
11
bengle 2012-07-15 13:35:13 +08:00
还是preventDefault()吧,比较保险。
|