Jquery

Utility class for jQuery JavaScript behaviors

abstract
since

3.0

Methods

framework

Method to load the jQuery JavaScript framework into the document head

framework(boolean $noConflict = true, mixed $debug = null, boolean $migrate = false) : void
static deprecated

If debugging mode is on an uncompressed version of jQuery is included for easier debugging.

since

3.0

deprecated

5.0 Use Joomla\CMS\WebAsset\WebAssetManager::useAsset();

Arguments

$noConflict

booleanTrue to load jQuery in noConflict mode [optional]

$debug

mixedIs debugging mode on? [optional]

$migrate

booleanTrue to enable the jQuery Migrate plugin

token

Auto set CSRF token to ajaxSetup so all jQuery ajax call will contains CSRF token.

token(string $name = 'csrf.token') : void
static
throws

\InvalidArgumentException

since

3.8.0

Arguments

$name

stringThe CSRF meta tag name.

Properties

loaded

Array containing information for loaded files

static
since

3.0

Type(s)

array