Free Useful Javascripts

Posted Jun 4, 2003
Last Updated Nov 19, 2011

Links to articles that give free javascript code or javascript examples.

Altering CSS Class Attributes with JavaScript

Posted on Jan 8, 2004 | Last Updated Nov 3, 2011

A useful JavaScript to instantly change the style values of a CSS class property.

Read More

alter css class attribute javascript, dynamic html, dhtml, change style on-the-fly

Change HTML Styles with JavaScript

Posted on Jul 23, 2009 | Last Updated Aug 4, 2009

Video and source files on using getElementById, getElementsByTagName and object oriented methods to dynamically change HTML element styles in JavaScript.

Read More

javascript, getElemebtById, getElementsByTagName, reference, explanation, video

Select Some Checkboxes JavaScript Function

Posted on Jul 24, 2006 | Last Updated Nov 10, 2011

A new javascript function that allows you to control checkboxes in groups via a control checkbox.

Read More

checkbox control, javascript, advanced

Select All Checkboxes in a Form with JavaScript

Posted on Apr 20, 2004 | Last Updated Nov 5, 2011

A simple, free javascript to select/unselect all the checkboxes in a form.

Read More

checkbox select javascript, checkboxes

Get a Form Element's Label with JavaScript

Posted on Jul 7, 2009 | Last Updated Nov 12, 2011

This JavaScript finds the label for a form element, which is helpful for dynamically highlighting or changing a label based on user input.

Read More

Select Radio Inputs JavaScript

Posted on Aug 16, 2007 | Last Updated Nov 11, 2011

A free javascript function to choose radio inputs with a given value.

Read More

javascript, radio, input, radios, inputs, form, forms, free, smo_selectRadioValues()

UseMaps Crash IE When Changed

Posted on Mar 30, 2008 | Last Updated Nov 12, 2011

Dynamically changing an image's usemap property can cause Internet Explorer to crash completely. Here is a solution to changing usemaps with JavaScript.

Read More

image maps, usemaps, use maps, dynamic, ie7, ie, internet explorer, javascript

Hide Select Menus JavaScript

Posted on Nov 7, 2005 | Last Updated Nov 9, 2011

Sometimes it is beneficial to hide select menus with JavaScript, especially on Internet Explorer 6 and older.

Read More

hide select menus javascript microsoft internet explorer

Manipulating Element Styles Based on CSS Classes Using Prototype

Posted on Dec 3, 2009 | Last Updated Dec 21, 2012

Example javascript function to change element display properties based on their classes using the Prototype JavaScript Framework.

Read More

javascript, prototype, css, class, className, classNames, style

Compare Values with Arbitrary Comparison Operator

JavaScript for comparing values when the operator to use is variable.
Posted on Dec 21, 2012 | Last Updated Dec 21, 2012

JavaScript function and sample code to dynamically compare two values. Accepts numeric and/or alphanumeric values and does a comparison on them based on a comparison parameter.

Read More

javascript, compare, comparison, dynamic, script, operator, math, numeric, alphanumeric, example, free

Comment

No HTML Tags are permitted.

Wall Worm plugins and scripts for 3ds Max