vendredi 27 janvier 2017

Auto load void;0 on page load

Hello I need to add a chat function to my apps and the only thing I think is to create in a webview the chat emerge, In my web the chats opens with: javascript:void(Tawk_API.toggle())

so i think in something like this:

enter code here<script type="text/javascript">
function load()
{
window.location.href = "javascript:void(Tawk_API.toggle())";

}
</script>`enter code here`

But no working, could is this possible? I need in this web to on page load auto pop up the widget chat. Thanks!




Aucun commentaire:

Enregistrer un commentaire