darkness_
2015-07-20 16:17
$(function () {
$("#btntest").bind({
"click":function(){$(this).attr("disabled",true)},
"mouseout":function(){$(this).css("color","red")}
})
事件和方法之间用逗号分隔啊
而且多个事件是用空格分隔的。
像这样 bind("click mouseout",fuction(){
}
只要提交就能过!不管你有没答对
因为你写错了....仔细看看吧
jQuery基础课程
154805 学习 · 7184 问题