.live() vs .on() method

Using jquery: .live() vs .on() method on newest questions tagged jquery – Stack Overflow

I just read this article and do not agree that .on() method has completely replaced the .live() method.

I was working on a proyect and when I keep pressing on the min/plus button without hovering off the picture with the .live() method, the function works. In the case of .on() method the function does not work.

How can I fix this issue for .on() method??

Check out the demo so you can better understand what I’m referring too.

I fixed the error in the Demo, I was using the .on method wrong..

See Answers

source: http://stackoverflow.com/questions/9215237/live-vs-on-method
Using jquery: using-jquery

Leave a Reply