Support » Plugin: Audio Album » Audio Album Syntax Error

  • Resolved daveywc


    I notice the following error showing up in Chrome (have not checked other browsers):

    Uncaught SyntaxError: Unexpected token <

    It is related to the following line of code from audio-album.php:

    echo ‘<script type=”text/javascript”><![CDATA[ jQuery(“.track”).hide();jQuery(document).ready(function() {jQuery(“.track”).show();});]]></script>’ . “\n”;

    Googling seems to indicate that either the CDATA stuff is not necessary – or that it should be wrapped in comments.



Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Audio Album Syntax Error’ is closed to new replies.