I have a very simple button, but I wanted to know if it is possible to put a loading button when it is clicked. I wanted to use jquery.
Follow the code for my button.
.button {
margin-top: 12px;
margin-right: 20px;
border: 0;
padding: 5px;
width: 100px;
height: 42px;
cursor: pointer;
border-radius: 4px;
color: #FFFFFF;
background-color: #FBBC05 !important;
}
<form name="form" action="#">
<button type='submit' class="button">GERAR</button>
</form>