I have written some click
events on document.ready()
. Some of them are working as expected. But few of them are not loading unless i put them inside setTimeout()
.
It is not working
$('.clsName').click(function(){ //code here });
But, this one will work
setTimeout(function(){
$('.clsName').click(function(){ //code here});
}.2000);