How to add jQuery to JSfiddle

JqueryJsfiddle

Jquery Problem Overview


The interface of JSfiddle has changed and i can't see any option to add jQuery, and set it onLoad as it was Before..

So can someone help me how to activate it.

And thank you for help.

Jquery Solutions


Solution 1 - Jquery

Alternatively to Velimir Tchatchevsky's Answer you can click the Javascript Settings button (top right left of Javascript pane).

enter image description here

You can select jQuery, and other extensions and frameworks, from the Frameworks & Extensions drop down.

Also, depending on the library selected there are also some other extensions to that library. An example below of jQuery 1.7.2, you can also include jQuery UI, jQuery Mobile etc.

enter image description here


In regards to Velimir Tchatchevsky's answer, the External Resources section on the left is more for importing other files / libraries that JSFiddle does not have.

For example, you could import libraries like FontAwesome or Datatables.js, or your own hosted CSS / JS files.

Solution 2 - Jquery

At the left side there is an "external resources" button that you can click and fill in the url of the jquery source

Solution 3 - Jquery

Had the same question. using ImClarky's answer figured it out in updated interface. Adding steps in updated interface. hope these help someone looking for same in future

  1. Click on Javascript menu in javascript pane and select jQuery from Frameworks & Extensions menu

enter image description here

  1. Add your code using jQuery !!

enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionkh.tabView Question on Stackoverflow
Solution 1 - JqueryImClarkyView Answer on Stackoverflow
Solution 2 - JqueryVelimir TchatchevskyView Answer on Stackoverflow
Solution 3 - JquerymryView Answer on Stackoverflow