What is difference between
$('root selector').on('click',function(){})
and
$('root').on('click', 'selector', function(){})
I want to know specifically about event bubbling.
What is difference between
$('root selector').on('click',function(){})
and
$('root').on('click', 'selector', function(){})
I want to know specifically about event bubbling.