In woocommerce I have an add to cart button with the following classes:
button product_type_simple add_to_cart_button ajax_add_to_cart
I want to run a javascript code once this button has been clicked. It is a custom JS file. How can I trigger my custom js file when this class is clicked?