1
When an element is created dynamically by JS and this element needs to perform a function I do so in jQuery:
$(document).on('click', 'button#doLogin', function(){
});
How is it in the pure JS ? Vanilla.js
1
When an element is created dynamically by JS and this element needs to perform a function I do so in jQuery:
$(document).on('click', 'button#doLogin', function(){
});
How is it in the pure JS ? Vanilla.js
Browser other questions tagged javascript jquery
You are not signed in. Login or sign up in order to post.
That’s not what you’re looking for? Document.addeventlistener
– Luan
Duplicate of which question?
– Diego Souza