I’m trying to perform an effect targeted at objects with the same id, but it only works on the first one:
$("#continue").addGlow({ .. etc.. });
How do I carry forth with this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t. This is a consequence of the HTML standard. As Peter mentioned in the above comment, you should use classes. Not only is what you’re doing bad practice, but it could have unspecified behavior on old, mobile, or even some mainstream browsers.
http://www.w3.org/TR/WD-html40-970708/struct/global.html
(emphasis mine)