Quick Search

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

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

Dynamically change a form's action with JavaScript

Posted on Dec 11, 2008 | Last Updated Nov 12, 2011

JavaScript allows you to dynamically change a form's action. To make the function work in the new Google Chrome browser, you need to reference the action differently than you could in other browsers.

Read More

javascript, form, action, browser, chrome

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()

PHP strip_tags And Standalone XHTML Elements

Posted on Dec 11, 2006 | Last Updated Nov 11, 2011

A solution to strip_tags() not allowing BR, HR and other standalone XHTML elements.

Read More

php, strip_tags, strip_tags(), xhtml, br, hr, standalone elements, self-closing

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

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

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

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

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
Wall Worm plugins and scripts for 3ds Max