Community Documentation

Javascript examples

Last updated January 9, 2009. Created by mr.baileys on September 19, 2006.
Edited by aj045, beginner, piersonr. Log in to edit this page.

Drupal pages can contain JavaScript code as well as PHP. Utility modules are available to help you in developing JavaScript on your site. More info on using Javascript with Drupal here. The pages below contain JavaScript that you may find useful.

Note that this is regular old JavaScript code-- not jQuery. It is valid to use regular JavaScript and completely disregard jQuery.

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here