Javascript Mobile Environment -
from script, on mobile browser, how can reliably know if onload event has been fired, if have no ability register it. problem j/s code can executed before or after onload event has been fired, , script has no way latching on (if latches on onload, , never comes because happened, rest of code won't execute)
i'm not 100% sure understand question, i'm thinking you're asking..
you can like:
<script type="text/javascript" charset="utf-8"> function onload(){ console.log("loaded"); } </script> <body onload="onload()">
Comments
Post a Comment