Streaming live at 10am (PST)

Multiple ids not works on same page

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 :


<script src=""></script>
<a href="#" id="link">Option 1st</a>
<a href="#" id="link">Option 2nd</a>
<a href="#" id="link">Option 3rd</a>

Use id with link value only one time per page. If you need multiple items to have the same attribute, change the id to class. or set diff #id for each item (link1, link2 and so on).

Anyway no way to answer your problem without URL + read only + custom code + Screenshot (What is the problem)


The id attribute specifies a unique id for an HTML element (the value must be unique within the HTML document). read more

1 Like

Thank you , case is solved.

how to set it as a class? have the same problem with a json…