www.webdeveloper.com
Results 1 to 1 of 1

Thread: ReferenceError: $ is not defined

  1. #1
    Join Date
    Feb 2012
    Location
    Tallahassee, FL
    Posts
    280

    ReferenceError: $ is not defined

    Here is the header:
    HTML Code:
    <title><?php echo $settings['title']; ?></title>
    
        <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />
        <meta http-equiv='Content-Style-Type' content='text/css' />
        <meta name='description' content='<?php echo $settings['description']; ?>' />
        <link rel="shortcut icon" itemprop="image"  href="images/logo.<?php echo $style->getLogoExt(); ?>" />
    
        <link rel='stylesheet' type='text/css' href='template/style.php' />
        <link rel='stylesheet' type='text/css' href='includes/custom.parse.php' />
        <link rel='stylesheet' type='text/css' href='template/editor.css'/>
    
        <script type="text/javascript" src="jscolor/jscolor.js"></script>
        <script defer type='text/javascript' src='js/jquery.js'></script>
        <script defer type='text/javascript' src='js/scripts.js'></script>
         <script type="text/javascript" src="js/editor.scripts.js"></script>
        <!--[if lt IE 7]>
        <script defer type='text/javascript' src='includes/png_trans.js'></script>
        <![endif]-->
    scripts.js works fine

    editor.scripts.js is what gives me the error.


    Any help is appreciated. This is driving me mad. @_@

    EDIT: Ok, after I posted, I noticed the defer attribute (I didnt make this) now it works fine. What does defer do anyway?
    Last edited by NoEffinWay; 02-12-2013 at 11:36 AM. Reason: Fixed

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles