This video explains how to add a spinner for buttons in jquery when a user is performing an action. This will help you prevent users from clicking the button twice before performing the actual action.
Source + Demo : https://codesandbox.io/s/jquery-butto...
Please subscribe to the channel for more videos - / dcoders