【发布时间】:2015-10-08 11:15:20
【问题描述】:
【问题讨论】:
-
使用
$(this)而不是$('this')
标签: javascript jquery jquery-plugins
【问题讨论】:
$(this) 而不是$('this')
标签: javascript jquery jquery-plugins
您的代码中有两个错误:
1) 使用 $(this) 而不是 $('this')
2) 使用背景色代替背景色
$(this).css("background-color", "#f99");
【讨论】: