I would like to wait/poll for a particular html element to load. How can I achieve this via native javascript without using any libraries. document.ready() , DOMContentLoaded seem like a heavy hammer. I need a simple way to poll for an elements availibility in the DOM.
Aucun commentaire:
Enregistrer un commentaire