bind()方法如何绑定多个不同事件
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>bind()方法绑定事件</title>
<script src="http://libs.baidu.com/jquery/1.9.0/jquery.js" type="text/javascript"></script>
</head>
<body>
<h3>bind()方法绑多个事件</h3>
<input id="btntest" type="button" value="点击或移出就不可用了" />
<script type="text/javascript">
$(function () {
$("#btntest").bind("click": function () {
$(this).attr("disabled", "true")},
"mouseout":function(){
$(this).html("bangbang");
}
)
});
</script>
</body>
</html>