Detail: I create a code when user click and button or link instantly show loading icon.right? Okey! But I have issue my button of href link
id is work only very first option of the page contact only.
I mean let supposed in my webpage there is many links or button and I added
id each link or buttons to show loading image when anyone hit it.
In this mentioned below code there is works only
Option first anthem not works. Why?
Hope you understand how toni can fix this?
For example website : https://mysoftweb2sms.000webhostapp.com/login.php
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <a href="#" id="link">Option 1st</a> <a href="#" id="link">Option 2nd</a> <a href="#" id="link">Option 3rd</a>