I am using the javascript Placeholders.js Once my page is loaded it says that should execute the script as below:
Placeholders.init({ live: true, //Apply to future and modified elements too hideOnFocus: true //Hide the placeholder when the element receives focus });
I am NOT using jQuery. How can I know when to execute the init because it depends on two things: The Placeholders.js script having loaded and my form fields having loaded.