Discussions related to the HTML Javascript Adder WordPress plugin.

Javascript works on preview but not on site

User avatar
iksiks
Posts: 1
Joined: 3 years ago

Javascript works on preview but not on site

Postby iksiks » 3 years ago

Hello,

My Javascript works on preview but not on the main site... Why is this happening?
It can't be colliding with other onsite scripts...

It looks like this:

Code: Select all

<!-- You can place html anywhere within the source tags -->
<div id="xcg_siaf"></div>
<script type="text/javascript" src="http://xcglobe.com/olc/js/export.js"></script>
<script type="text/javascript">
xcg_show('siaf');
</script>


Thank you and best regards,
-Andrej
User avatar
vaakash
Site Admin
Posts: 733
Joined: 6 years ago
Location: India
Contact:

Re: Javascript works on preview but not on site

Postby vaakash » 3 years ago

Works for me. There is a sure collapse with other Javascripts in your site. Check that out.