Solution:
If you want to save some time, you can go to the Javascript console and type jQuery.fn.jquery which works on any site using jQuery, not only Drupal sites.
At the moment Drupal 8 core uses jQuery 2.1.4, but it looks like jQuery 3 has been implemented in Drupal 8.4.x.
https://www.drupal.org/node/2533498
This is probably not the best question because the answer could change over time based on the specific version of Drupal.
The most accurate way to find what version of a JavaScript library is used by Drupal core is to look directly at the core/core.libraries.yml file for a given version of Drupal. One of the easiest ways to do this is to browse Drupal's git repository online:
For Drupal 6-7, without jquery_update module installed, the version of Drupal can be most easily discovered by going into the misc/ directory, and looking at the top of the jquery.js file. This is v1.2.6 and v1.4.4 respectively.
For Drupal 5, the version of jquery is not readily apparent, but the handy git blame misc/jquery.js reveals the commit 0d57bae updated jQuery to v1.0.4.
Subscribe to:
Post Comments (Atom)
JavaScript + Angular-compatible version of loan amortization calculator that you can integrate into an Angular component or service
JavaScript Version of Loan Amortization 1. Loan Calculator Function (Pure JS/TS) export function calculateLoanSchedule ( principal:...
Best for you
-
The meta tag with the http-equiv="refresh" attribute is used in HTML to instruct the browser to automatically refresh or redirec...
-
To extract response headers with Angular's HttpClient , you can observe the full response using the observe: 'response' option...
-
Aggregate Functions : These operate on a set of values and return a single value. COUNT() : Counts the number o SELECT COUNT ( * ) FROM em...
-
In JavaScript, you can check if a value exists in an array using several methods. Here are a few common ways: Using includes() Method : Th...
-
Skip to content You said: 🔧 1. Java (Spring Boot) Core Topics 🟩 Topics Spring Boot fundamentals (annotations, starters, auto-configuratio...
-
<?php require $_SERVER['DOCUMENT_ROOT'].'/pdf/phpmailer/class.phpmailer.php'; require $_SERVER['DOCUMENT_ROOT'...
-
Example #1 - How to stream a PDF directly to the end user with ASP.NET C# MVC By commenting out line #17 you can switch between showing the ...
-
DOM stands for Document Object Model. DOM is a programming interface for HTML and XML documents. When the browser tries to render a HTML d...
-
. 🧱 1. Create Table sql CREATE TABLE Employee ( EmpId INT PRIMARY KEY, FirstName VARCHAR(50), LastName VARCHAR(50), DOB DAT...
No comments:
Post a Comment