jquery on function for dynamically generated content

by Prakash 2013-07-16 16:10:14

Jquery event triggers that are defined will not work with ajax content or javascript dynamically generated content. So we use the 'on' function for this .


$('body').on('click','.remove_play_video',function(event){
alert('dynamic content clicked');
});
1383
like
0
dislike
0
mail
flag

You must LOGIN to add comments