drupal_add_js

Functions that call drupal_add_js()

Namesort iconLocationDescription
color_scheme_formmodules/color/color.moduleForm callback. Returns the configuration form.
comment_formmodules/comment/comment.moduleGenerate the basic commenting form, for appending to a node or display on a separate page.
drupal_add_jsincludes/common.incAdd a JavaScript file, setting or inline code to the page.
drupal_add_tabledragincludes/common.incAssist in adding the tableDrag JavaScript behavior to a themed table.
drupal_get_jsincludes/common.incReturns a themed presentation of all JavaScript code for the current page.
form_expand_ahahincludes/form.incAdd AHAH information about a form element to the page to communicate with javascript. If #ahah[path] is set on an element, this additional javascript is added to the page header to attach the AHAH behaviors. See ahah.js for more information.
install_tasksinstall.phpTasks performed after the database is initialized.
locale_update_js_filesmodules/locale/locale.moduleUpdate JavaScript translation file, if required, and add it to the page.
node_filter_formmodules/node/node.admin.incReturn form for node administration filters.
openid_form_altermodules/openid/openid.moduleImplementation of hook_form_alter : adds OpenID login to the login forms.
system_clean_url_settingsmodules/system/system.admin.incForm builder; Configure Clean URL settings. See alsosystem_settings_form()
system_date_time_settingsmodules/system/system.admin.incForm builder; Configure the site date and time settings. See alsosystem_settings_form()
theme_fieldsetincludes/form.incFormat a group of form items.
theme_poll_choicesmodules/poll/poll.moduleTheme the admin poll form for choices.
theme_profile_admin_overviewmodules/profile/profile.admin.incTheme the profile field overview into a drag and drop enabled table. See alsoprofile_admin_overview()
theme_tableincludes/theme.incReturn a themed table.
theme_table_select_header_cellincludes/theme.incReturns a header cell for tables that have a select all functionality.
theme_taxonomy_overview_termsmodules/taxonomy/taxonomy.admin.incTheme the terms overview as a sortable list of terms. See alsotaxonomy_overview_terms()
theme_textareaincludes/form.incFormat a textarea.
theme_textfieldincludes/form.incFormat a textfield.
user_admin_settingsmodules/user/user.admin.incForm builder; Configure user settings for this site. See alsosystem_settings_form()
user_filter_formmodules/user/user.admin.incForm builder; Return form for user administration filters. See alsouser_filter_form_submit()
user_registermodules/user/user.moduleForm builder; The user registration form. See alsouser_register_validate()
_batch_progress_page_jsincludes/batch.incBatch processing page with JavaScript support.
_book_add_form_elementsmodules/book/book.moduleBuild the common elements of the book form for the node and outline forms.
_init_themeincludes/theme.incInitialize the theme system given already loaded information. This function is useful to initialize a theme when no database is present.
_user_password_dynamic_validationmodules/user/user.moduleAdd javascript and string translations for dynamic password validation (strength and confirmation checking).

Functions called by drupal_add_js()

Namesort iconLocationDescription
base_pathincludes/common.incReturns the base URL path of the Drupal installation. At the very least, this will always default to /.
drupal_add_jsincludes/common.incAdd a JavaScript file, setting or inline code to the page.
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.