Is attaching an event listener with jQuery’s on() method cross browser compatible?
I think I remember that the ancestor live() didn’t consistently work – correct me if I’m wrong.
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.
Yes,
.onis cross browser compatible..live()has been deprecated, as noted here. The page for.onis here. jQuery’s own documentation on which browsers they actively support is found here.