Sulthan Allaudeen · Digital Architect

← All posts

JQuery use document click whenever needed

By ·

JQuery use document click whenever needed

Use 

$(document).on('click', '#id', function(){});

Instead of using loading the jquery functions in ajax, (In fear of DOM)  :p

[I know it well, that spoiled most of my codes] Thanks for a  UI Designer  Ashwath who taught me this !!

Topics:

Related posts