I know the difference between delegate() and on(), but I have a doubt that on() is very popular and faster than delegate() then why jquery is not removing the delegate()
from its library.
live() has drawbacks then it is removed from jQuery-1.9 version
.
Also if we see the performance between on() and delegate() then on()
is much faster than delegate()
.
Then any reason to keep delegate() in jQuery?