/    Sign up×
Community /Pin to ProfileBookmark

ReferenceError: $ is not defined

Here is the header:

[code=html]
<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]–>
[/code]

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?

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @NoEffinWay spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...