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){ })
THIS IS THE RIGHT TIME TO DO ANYTHING...............