I have a hidden loader-bar gif that I want to display when the user submits a form. Here is the code:
<p class="loadingImg" style="display:none;"><img src="/design/styles/_shared/classic-loader.gif" alt="" /></p>
Is there a way to use Javascript to show this loader bar and hide the submit button when the form is submitted?