Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module provides compatibility for deprecated jQuery functions that are no longer supported in newer versions of Drupal. It aims to help modules and themes that rely on older JavaScript libraries continue to function, while encouraging developers to migrate to modern JavaScript frameworks.

This is a small module that implements some deprecated jQuery functions like:

  • $.trim
  • $.isFunction
  • $.camelCase
  • And many more !

Features

*** PLEASE NOTE ***: The purpose of this project is not to encourage writing deprecated jQuery code instead of vanilla JS, the idea is to continue doing support on the modules that depend on old Javascript libraries to work on their sites but at the same time the developers/module maintainers should do the transition to a more up to date Javascript Frameworks (Vanilla JS/React/Next.js).

Since jQuery 4 is now the default jQuery version in Drupal 11, and most of these functions are no longer available in jQuery 4, there are quite a few modules that are not working at all because of the new jQuery version, views_bootstrap being one of them, and also a bunch of themes that uses old Javascript Libraries that rely on old jQuery functions

Post-Installation

No post-installation steps needed

Additional Requirements

No additional requirements

Similar projects

None that I know of, if you see similar projects, please let me know.

Supporting this Module

Please drop me a line if you want to support this module.

Also, drop me a line if you want a deprecated jQuery function to be implemented here and I'll do my best to do it.

Activity

Total releases
6
First release
May 2025
Latest release
1 month ago
Releases (12 mo)
2 ▼ from 4
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.4 Stable Jun 14, 2026
1.0.3 Stable Mar 23, 2026
1.0.2 Stable Jun 29, 2025
1.0.1 Stable Jun 4, 2025
1.0.x-dev Dev May 15, 2025
1.0.0 Stable May 15, 2025