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