請幫我找出爲什麼第二次事件未啓動(full code)爲什麼第二個事件沒有啓動?
<input type="submit" value="disabled:false" />
$(function(){
$('input:submit').bind({
mouseover : function(){
$('input:submit').each(function(){
$(this).attr('disabled', 'disabled');
$(this).val('disabled:' + $(this).attr('disabled'));
});
},
mouseout : function(){
$(this).removeAttr('disabled');
$(this).val('disabled:' + $(this).attr('disabled'));
}
});
});
你在說什麼第二個事件? – 2010-11-01 13:36:35
喜歡它...問一個問題得到一個問題 – 2010-11-01 13:37:33
可能重複的[禁用輸入Jquery事件](http://stackoverflow.com/questions/3100319/jquery-event-on-a-disabled-input),也是http://stackoverflow.com/questions/2819404/how-can-my-input-element-receive-onclick-events-when-it-is-set-to-disabled – 2010-11-01 13:38:08