Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
common.inc
»
drupal_add_js
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
51 calls to drupal_add_js()
ajax_forms_test_lazy_load_form_submit
in drupal/
modules/
simpletest/
tests/
ajax_forms_test.module
Form submit handler: Adds JavaScript and CSS that wasn't on the original form.
ajax_render
in drupal/
includes/
ajax.inc
Renders a commands array into JSON.
ajax_test_render
in drupal/
modules/
simpletest/
tests/
ajax_test.module
Menu callback; Return an element suitable for use by
ajax_deliver
().
block-admin-display-form.tpl.php
in drupal/
modules/
block/
block-admin-display-form.tpl.php
Default theme implementation to configure blocks.
color.inc
in drupal/
themes/
bartik/
color/
color.inc
common_test_js_and_css_querystring
in drupal/
modules/
simpletest/
tests/
common_test.module
Adds a JavaScript file and a CSS file with a query string appended.
drupal_add_tabledrag
in drupal/
includes/
common.inc
Assists in adding the tableDrag JavaScript behavior to a themed table.
drupal_get_js
in drupal/
includes/
common.inc
Returns a themed presentation of all JavaScript code for the current page.
drupal_theme_initialize
in drupal/
includes/
theme.inc
Initializes the theme system by loading the theme.
file_ajax_upload
in drupal/
modules/
file/
file.module
Menu callback; Shared Ajax callback for file uploads and deletions.
hook_overlay_child_initialize
in drupal/
modules/
overlay/
overlay.api.php
Allow modules to act when an overlay child window is initialized.
hook_overlay_parent_initialize
in drupal/
modules/
overlay/
overlay.api.php
Allow modules to act when an overlay parent window is initialized.
install_configure_form
in drupal/
includes/
install.core.inc
Form constructor for a form to configure the new site.
JavaScriptTestCase::testAddExternal
in drupal/
modules/
simpletest/
tests/
common.test
Tests adding an external JavaScript File.
JavaScriptTestCase::testAddFile
in drupal/
modules/
simpletest/
tests/
common.test
Test adding a JavaScript file.
JavaScriptTestCase::testAddInline
in drupal/
modules/
simpletest/
tests/
common.test
Test adding inline scripts.
JavaScriptTestCase::testAddSetting
in drupal/
modules/
simpletest/
tests/
common.test
Test adding settings.
JavaScriptTestCase::testAggregationOrder
in drupal/
modules/
simpletest/
tests/
common.test
Tests JavaScript aggregation when files are added to a different scope.
JavaScriptTestCase::testAlter
in drupal/
modules/
simpletest/
tests/
common.test
Test altering a JavaScript's weight via
hook_js_alter
().
JavaScriptTestCase::testDefault
in drupal/
modules/
simpletest/
tests/
common.test
Test default JavaScript is empty.
JavaScriptTestCase::testDifferentGroup
in drupal/
modules/
simpletest/
tests/
common.test
Test adding a JavaScript file with a different group.
JavaScriptTestCase::testDifferentWeight
in drupal/
modules/
simpletest/
tests/
common.test
Test adding a JavaScript file with a different weight.
JavaScriptTestCase::testFooterHTML
in drupal/
modules/
simpletest/
tests/
common.test
Test
drupal_get_js
() with a footer scope.
JavaScriptTestCase::testHeaderSetting
in drupal/
modules/
simpletest/
tests/
common.test
Test
drupal_get_js
() for JavaScript settings.
JavaScriptTestCase::testJavaScriptAlwaysUseJQuery
in drupal/
modules/
simpletest/
tests/
common.test
Test the 'javascript_always_use_jquery' variable.
JavaScriptTestCase::testNoCache
in drupal/
modules/
simpletest/
tests/
common.test
Test
drupal_add_js
() sets preproccess to false when cache is set to false.
JavaScriptTestCase::testRenderDifferentWeight
in drupal/
modules/
simpletest/
tests/
common.test
Test rendering the JavaScript with a file's weight above jQuery's.
JavaScriptTestCase::testRenderExternal
in drupal/
modules/
simpletest/
tests/
common.test
Test rendering an external JavaScript file.
JavaScriptTestCase::testRenderOrder
in drupal/
modules/
simpletest/
tests/
common.test
Test JavaScript ordering.
JavaScriptTestCase::testReset
in drupal/
modules/
simpletest/
tests/
common.test
Test to see if resetting the JavaScript empties the cache.
menu_form_node_type_form_alter
in drupal/
modules/
menu/
menu.module
Implements
hook_form_FORM_ID_alter
().
node_filter_form
in drupal/
modules/
node/
node.admin.inc
Returns the node administration filters form array to
node_admin_content
().
overlay_close_dialog
in drupal/
modules/
overlay/
overlay.module
Requests that the overlay closes when the page is displayed.
overlay_overlay_parent_initialize
in drupal/
modules/
overlay/
overlay.module
Implements
hook_overlay_parent_initialize
().
overlay_render_region
in drupal/
modules/
overlay/
overlay.module
Renders an individual page region.
overlay_trigger_refresh
in drupal/
modules/
overlay/
overlay.module
Checks if the parent window needs to be refreshed on this page load.
system_add_module_assets
in drupal/
modules/
system/
system.module
Adds CSS and JavaScript files declared in module .info files.
system_clean_url_settings
in drupal/
modules/
system/
system.admin.inc
Form builder; Configure clean URL settings.
system_performance_settings
in drupal/
modules/
system/
system.admin.inc
Form builder; Configure site performance settings.
system_user_timezone
in drupal/
modules/
system/
system.module
Add the time zone field to the user edit and register forms.
ThemeTableTestCase::testThemeTableNoStickyHeaders
in drupal/
modules/
simpletest/
tests/
theme.test
If $sticky is FALSE, no tableheader.js should be included.
ThemeTableTestCase::testThemeTableStickyHeaders
in drupal/
modules/
simpletest/
tests/
theme.test
Tableheader.js provides 'sticky' table headers, and is included by default.
theme_color_scheme_form
in drupal/
modules/
color/
color.module
Returns HTML for a theme's color form.
theme_profile_admin_overview
in drupal/
modules/
profile/
profile.admin.inc
Returns HTML for the profile field overview form into a drag and drop enabled table.
theme_simpletest_test_table
in drupal/
modules/
simpletest/
simpletest.pages.inc
Returns HTML for a test list generated by
simpletest_test_form
() into a table.
theme_table
in drupal/
includes/
theme.inc
Returns HTML for a table.
theme_tableselect
in drupal/
includes/
form.inc
Returns HTML for a table with radio buttons or checkboxes.
theme_taxonomy_overview_terms
in drupal/
modules/
taxonomy/
taxonomy.admin.inc
Returns HTML for a terms overview form as a sortable list of terms.
user_admin_settings
in drupal/
modules/
user/
user.admin.inc
Form builder; Configure user settings for this site.
_batch_progress_page_js
in drupal/
includes/
batch.inc
Outputs a batch processing page with JavaScript support.
_drupal_theme_initialize
in drupal/
includes/
theme.inc
Initializes the theme system given already loaded information.