-
Uncaught ReferenceError: jQuery is not defined throws at /resource/select_3/select2.min.js:4:188
Hi,
I am using this plugin "https://select2.github.io/" and uploaded the zip in static resource.
Now I am using the below code in the component:
<ltng:require scripts="/resource/select_3/select2.min.js" />
I am getting the "Uncaught ReferenceError: jQuery is not defined
throws at /resource/select_3/select2.min.js:4:188" error.
Log In to reply.
Popular Salesforce Blogs

What Must ISVs Know Before Integrating With Salesforce?
A lot of enterprises depend on Salesforce for many of their business processes ranging from marketing automation to sales process management. They don’t’ all use…

Best Practices in Salesforce to Write Test Classes for 100% Code Coverage
Introduction Test classes in Salesforce is an Apex Class that is used to test logics written in classes. We write Salesforce Test Classes for: Apex…

Salesforce Lightning Vs Salesforce Classic
Talk of the Salesforce World right now is Lightning. What is Lightning actually and why all the people are going crazy behind this. Well till…
Popular Salesforce Videos
Event & Task List - Salesforce Classic vs Salesforce Lightning
Event & Task List - Salesforce Classic vs Salesforce Lightning Video demonstrated the Event & Task List Salesforce Event List in Salesforce Classic Task List…
Welcome to an all-digital, work-from-anywhere world | Salesforce Customer 360 | Salesforce Anywhere
Welcome to an all-digital, work-from-anywhere world. With Salesforce Customer 360, Salesforce can connect your teams, delight your customers, and grow your business together. Take the…
What are the Objects in Salesforce?
What is the difference between Profile Vs Permission Set? Salesforce Interview Questions and Answers by CRS Info Solutions. Watch this video to learn more. Read…