I have a script that completly work with JQuery 1.5.2 but it doesn’t with 1.2.6, only the $(‘body’).click doesn’t have any effect.
I have made an example on jsfiddle, someone have an idea to solve 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 are using
.closest(), which wasn’t added to jQuery until 1.3. See the docs for more info.If you really need to maintain support for the very old jq1.2.6, you might be able to shim in
.parents()instead.