input或者button type=submit,,為了不能連續點擊多次,開始設置了attr('disabled', true),但是發現后面的表單驗證和上傳就失效了
解決方法 設置 css("pointer-event": "none")
想重新繼續點擊的話 css("pointer-event": "inherit")
鼠標原有的事件不能實現
pointer-events:none
input或者button type=submit,,為了不能連續點擊多次,開始設置了attr('disabled', true),但是發現后面的表單驗證和上傳就失效了
解決方法 設置 css("pointer-event": "none")
想重新繼續點擊的話 css("pointer-event": "inherit")
鼠標原有的事件不能實現
pointer-events:none
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。