• Hello,

    i want to use a jQuery Plugin on my site. That’s in the header to load it:

    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" ></script>
    <script type="text/javascript" src="<?php bloginfo('url'); ?>/wp-content/themes/sopexanewsroom/js/jquery.placeholder.min.js" ></script>

    Somehow that does not work. In chromes developer tools the placeholder-plugin shows as HTML. I get the following error message: “Uncaught SyntaxError: Unexpected token <“.

    What is wrong here?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Javascript loads as HTML’ is closed to new replies.