Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Hello,I am inserting HTML code into web page but after its open in browser its error in javascript console:
<script type="text/javascript">(function() )();</script>
information:in page there is google analytics and also processed by smarty template for the web page
Thank you
Offline
Now its fixed temporary by just using <script type="text/javascript" src="the_url_of_po.src"></script>
Offline
Hi,
I think problem is becaue of { brackets }. I think there should be something like
{literal}
generated code there
{/literal}
2013/3/15 Frank Frank <fen...***.com>
Offline
<script type="text/javascript">(function() {var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;po.src = 'http://websitename.com/livesupport/index.php/chat/getstatus/(position)/bottom_right';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);})();</script>
????
Offline
It's ok. It is as it should be.
2013/3/15 Frank Frank <fen...***.com>
Offline
But it does not work as should be...instead give me an error like in my first message.Best Regards,
Offline
Sorry but's it's something with your environment. Keep digging.
2013/3/15 Frank Frank <fen...***.com>
But it does not work as should be...instead give me an error like in my first message.
Best Regards,
Offline
Pages: 1