Hallo, ich verwende dieses Skript auf meinen Zielseiten, aber der Benutzer muss auf eine Schaltfläche klicken, damit es funktioniert.Android sendet SMS onload JS
<a onclick="ClickTrack('click5')" href="smsto:NR?body=TEXT" class="btn_2" >
<strong><span class="cta-clik">Click to send sms</span></strong>
</a>
Weiß jemand, wie man es ohne Knopfdruck, aber wenn Website Loads funktioniert?
$ (document) .ready oder $ (window) verwenden –
Mögliches Duplikat von [$ (document) .ready äquivalent ohne jQuery] (http://stackoverflow.com/questions/799981/document-ready-equivalent-without -jquery) – Randy