We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Events not fire on templates elements after load ... I looked for a solution for two hours, I almost gave up the pulg-in ...
This should be reported in the read.me ... From stackoverflow : (by Eduardo Quintana)
"Use event delegation this will add the handler for future elements.
If you use $(".button") and the element is not in the DOM already the event handler will not work because noting will be selected
$(document).on("click",".button",function(){ console.log('click'); }); "
hope to help, Raf
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Events not fire on templates elements after load ...
I looked for a solution for two hours, I almost gave up the pulg-in ...
This should be reported in the read.me ...
From stackoverflow : (by Eduardo Quintana)
"Use event delegation this will add the handler for future elements.
If you use $(".button") and the element is not in the DOM already the event handler will not work because noting will be selected
$(document).on("click",".button",function(){
console.log('click');
});
"
hope to help,
Raf
The text was updated successfully, but these errors were encountered: