live working but not on()

live working but not on()

Hi,

I am using this line below
   $('.pagination ul li a').live('click', function (e) {
which works fine.
But with latest jQuery version, live is not supported, I need to switch to use 'on' event.
I tried:
   $('.pagination').on('click', 'ul li a', function (e) {
 which didn't work. How to proceed further with this. Can any one explain me ?