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