To bind code to dynamic elements the following is often used: $(document).on('click','#element',function() {});
$(document).on('click','#element',function() {});
However I want to do something with those elements on page load, not when user does something particular. How to do that?
Aucun commentaire:
Enregistrer un commentaire