Can't you give the elements the same class and bind the class with the
click event?

Reply via email to