防止使用jQuery单击第二个按钮

防止使用jQuery单击第二个按钮

you can use one in jquery for that$("#myButton").one("click",function(){它将为该元素的事件附加一个处理程序,该事件最多执行一次.It will attach a handler to an event for the element which will executed at most one. 这篇关于防止使用jQuery单击第二个按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-06 00:50