Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change id to class #22

Open
khubbaib opened this issue Dec 5, 2013 · 0 comments
Open

Change id to class #22

khubbaib opened this issue Dec 5, 2013 · 0 comments

Comments

@khubbaib
Copy link

khubbaib commented Dec 5, 2013

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant