JHtmlJquery

Utility class for jQuery JavaScript behaviors

abstract
since

3.0

package

Joomla.Libraries

Methods

framework

Method to load the jQuery JavaScript framework into the document head

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

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

since

3.0

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.

ui

Method to load the jQuery UI JavaScript framework into the document head

ui(array $components = array('core'), mixed $debug = null) : void
static

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

since

3.0

Arguments

$components

arrayThe jQuery UI components to load [optional]

$debug

mixedIs debugging mode on? [optional]

Properties

loaded

Array containing information for loaded files

static
since

3.0

Type(s)

array