$("#btntest").bind 绑定多个事件时不能这样写吗。为什么执行不了呢?
$(function () {
$("#btntest").bind({
"click":function(){$(this).attr("disabled",true)},
"mouseout":function(){$(this).css("color","red")}
})
$(function () {
$("#btntest").bind({
"click":function(){$(this).attr("disabled",true)},
"mouseout":function(){$(this).css("color","red")}
})
2015-07-20
举报