// 将所有button置为disabled,定时将上面disabled button复原 $("#outRate_export:button:not(:disabled)").attr("di","di").attr("disabled",true).css("background-color", "#c2c2c2"); setTimeout(function(){$("#outRate_export:button[di=di]").attr("disabled",false).removeAttr("di").css("background-color", "#3091d1");},4000);
防重复导出,点击后按钮置灰,一定时间后可再次点击
猜你喜欢
转载自www.cnblogs.com/durp/p/js.html
今日推荐
周排行