Document Ready

1. Javascript code execution on ready document 
$('.discard-ticket').on("click", function (ev) {

})

2. Javascript code execution on executed document
$(document.body).on('click','.discard-ticket',function(ev){

})

Comments

Popular posts from this blog

WP register_post_type() with custom CMB2 meta box

Git post receive setup at server for git push to the production from local machine