Last active
August 29, 2015 14:07
-
-
Save hergaiety/2720455ec0243fb91a92 to your computer and use it in GitHub Desktop.
new html added via ajax can be triggered, or binded to
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Any new html added via ajax can be triggered, or binded to | |
$(document).ajaxComplete(function() { | |
setTimeout(function(){ | |
// Magic, example: $('[data-tooltip]').tooltip(); | |
}, 0); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment