Search for js
Title | Object type | File name | Summary |
---|---|---|---|
book_pick_book_nojs_submit | function | modules/ |
Form submission handler for node_form(). |
common_test_js_and_css_querystring | function | modules/ |
Adds a JavaScript file and a CSS file with a query string appended. |
DrupalJSONTest | class | modules/ |
Tests converting PHP variables to JSON strings and back. |
DrupalJSONTest::getInfo | function | modules/ |
|
DrupalJSONTest::testJSON | function | modules/ |
Tests converting PHP variables to JSON strings and back. |
drupal_add_js | function | includes/ |
Adds a JavaScript file, setting, or inline code to the page. |
drupal_build_js_cache | function | includes/ |
Aggregates JavaScript files into a cache file in the files directory. |
drupal_clear_js_cache | function | includes/ |
Deletes old cached JavaScript files and variables. |
drupal_get_js | function | includes/ |
Returns a themed presentation of all JavaScript code for the current page. |
drupal_json_decode | function | includes/ |
Converts an HTML-safe JSON string into its PHP equivalent. |
drupal_json_encode | function | includes/ |
Converts a PHP variable into its JavaScript equivalent. |
drupal_json_encode_helper | function | includes/ |
Encodes a PHP variable to HTML-safe JSON for PHP versions below 5.3.0. |
drupal_json_output | function | includes/ |
Returns data in JSON format. |
drupal_js_defaults | function | includes/ |
Constructs an array of the defaults that are used for JavaScript items. |
drupal_sort_css_js | function | includes/ |
Sorts CSS and JavaScript resources. |
FieldFormTestCase::testFieldFormJSAddMore | function | modules/ |
|
field_add_more_js | function | modules/ |
Ajax callback in response to a new empty widget being added to the form. |
field_ui_display_overview_multistep_js | function | modules/ |
Ajax handler for multistep buttons on the 'Manage display' screen. |
hook_js_alter | function | modules/ |
Perform necessary alterations to the JavaScript before it is presented on the page. |
JavaScriptTestCase::$preprocess_js | property | modules/ |
Store configured value for JavaScript preprocessing. |
JavaScriptTestCase::testAddJsFileWithQueryString | function | modules/ |
Tests that the query string remains intact when adding JavaScript files that have query string parameters. |
JavaScriptTestCase::testSetHasJsCookie | function | modules/ |
Tests that the set_has_js_cookie variable is reflected in Drupal.settings. |
json-encode.inc | file | includes/ |
Provides a helper to properly encode HTML-safe JSON prior to PHP 5.3.0. |
JS_DEFAULT | constant | includes/ |
The default group for module JavaScript code added to the page. |
JS_LIBRARY | constant | includes/ |
The default group for JavaScript and jQuery libraries added to the page. |
JS_THEME | constant | includes/ |
The default group for theme JavaScript code added to the page. |
locale_js_alter | function | modules/ |
Implements hook_js_alter(). |
LOCALE_JS_OBJECT | constant | includes/ |
Regular expression pattern used to match simple JS object literal. |
LOCALE_JS_OBJECT_CONTEXT | constant | includes/ |
Regular expression to match an object containing a key 'context'. |
LOCALE_JS_STRING | constant | includes/ |
Regular expression pattern used to localize JavaScript strings. |
MenuTestCase::testMenuParentsJsAccess | function | modules/ |
Test administrative users other than user 1 can access the menu parents AJAX callback. |
menu_parent_options_js | function | modules/ |
Page callback. Get all the available menus and menu items as a JavaScript array. |
PollJSAddChoice | class | modules/ |
Test adding new choices. |
PollJSAddChoice::getInfo | function | modules/ |
|
PollJSAddChoice::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
PollJSAddChoice::testAddChoice | function | modules/ |
Test adding a new choice. |
poll_choice_js | function | modules/ |
Ajax callback in response to new choices being added to the form. |
simpletest_js_alter | function | modules/ |
Implements hook_js_alter(). |
_drupal_flush_css_js | function | includes/ |
Changes the dummy query string added to all CSS and JavaScript files. |
_form_test_submit_values_json | function | modules/ |
Form submit handler to return form values as JSON. |
_form_test_tableselect_js_select_form | function | modules/ |
Test functionality of the tableselect #js_select property. |
_locale_invalidate_js | function | includes/ |
Force the JavaScript translation file(s) to be refreshed. |
_locale_parse_js_file | function | includes/ |
Parses a JavaScript file, extracts strings wrapped in Drupal.t() and Drupal.formatPlural() and inserts them into the database. |
_locale_rebuild_js | function | includes/ |
(Re-)Creates the JavaScript translation file for a language. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.