Skip to content

Change id to class #22

@khubbaib

Description

@khubbaib

i am implementing Simple Model in loop so we have multiple model with dynamic way so the problem is when i assign id in loop and click on first it work perfectly but when i click on second link the id is same so its not working because of id. is there any way to use class instead of id.
$("modal-ajax").addEvent("click", function(e){
can we write ?
$(".modal-ajax").addEvent("click", function(e){
here is site when i use it click on result link i-e 2-1,3,0
http://ucgoal.com/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions