Sometimes, clicking a button twice ends up submitting the form more than once, which creates a problem. Luckily, it is possible with jQuery to disable the button after the first click.
To use the disable button feature, you need to import this library:
In the code below, two buttons are created with the
View all Courses