0

What is difference between

$('root selector').on('click',function(){})

and

$('root').on('click', 'selector', function(){})

I want to know specifically about event bubbling.

Yuliam Chandra
  • 14,494
  • 12
  • 52
  • 67
  • I've read the doc completely but was not able understand the difference – Vivek Kumar Bansal Sep 25 '14 at 07:19
  • 1
    Also [What is the difference between jquery on with / without selector parameter and jquery delegate?](http://stackoverflow.com/questions/25662041/what-is-the-difference-between-jquery-on-with-without-selector-parameter-and-j) – Yuliam Chandra Sep 25 '14 at 07:20

0 Answers0