.live method works but .on does not in 1.7.
I read the following :
As of jQuery 1.7, the .live() method is deprecated. Use .on() to attach event handlers. Users of older versions of jQuery should use .delegate() in preference to .live().
However in case I was using the .on method things did not work anymore.
I do create div elements using the clone method, and have a remove function to remove them from the DOM.
This works ....
$('.aclass').live('click', function (e) {
}
This does not
$('.aclass').on('click', function (e) {
}
I will be be missing something, just don't know what exactly.
All help appreciated.
thx, eG