Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

jQuery is not defined

Go to End

12 Posts   33152 Views


Community Member, 54 Posts

12 November 2010 at 3:14pm

Is it good practice to load jquery from sapphire?

<% require javascript(sapphire/thirdparty/jquery/jquery.js) %>

Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/jquery/jquery.js');


Forum Moderator, 5523 Posts

12 November 2010 at 5:26pm

Is it good practice to load jquery from sapphire?

Yes it is recommended to load this version as if you use modules such as forum, UDF (two off the top of my head) you won't have to include multiple versions of jQuery.


Community Member, 3 Posts

21 September 2017 at 12:07pm

I have been noticed, If JS codes haven not been changed, you've got this sort of errors.
it could be possibly from the bad html mark up (e.g. missing div or '<div' ) something like this :)


Community Member, 1 Post

22 September 2017 at 4:14pm

Go to Top