Show a loader on add to cart button after click [Woocommerce]

Job ID: 30740636

Budget: $10 – $30 USD

I want to show a loader when user click on "add to cart button".
It redirects automatically to checkout, but as it has a delay, some people press 2 times the add to cart button,
thats why I want to disable button and show a little loader on the button after click on it.
Related categories: PHP JavaScript WordPress HTML WooCommerce