Disabled problem under input type=button, chrome

I use onclick to call function save () in input, first use attr ("disabled", true) in the save method, then call ajax to submit data, and set ajax to submit synchronously, and remove disabled after ajax execution, but I find that input still responds to the save method after many clicks under chrome before save is finished, but this will not happen under IE


according to your logic, it seems completely unnecessary to set ajax to synchronization.

you should have no problem removing disabled directly after the ajax request is successful ( function success () {} ).

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e47813-4cfd9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e47813-4cfd9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?