$(document).on("click" code example Example: document on click jquery $(document).on("click","#test-element",function() {});