I’m attempting to duplicate a div and append it on top of it’s clone. Unfortunately, it seems to be creating extra duplicates. What’s going on?
Here’s an example: http://jsfiddle.net/QEN5N/
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.
live will apply it to all the new ones with that class to, so your getting the mouse overs on your created elements and then it’s making another and so on.
remove the
searchResultItemclass from your clone by changing it to be like so.or:
disclude the created ones. like so:
either works 🙂