Home > Web >

JavaScript

Latest Articles

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

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

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

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

Change CSS in JavaScript in multiple browsers

Posted on Jun 22, 2009 | Last Updated Nov 12, 2011

I have updated the popular changecss() JavaScript function to be compatible with most common browsers.

Read More

change css

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

SwfObject JavaScript Error in IE7

Posted on Nov 25, 2008 | Last Updated Nov 26, 2008

IE7 has a JavaScript Error when using the swfobject.js method if you do not give the containing object element an ID.

Read More

swfobject, javascript, ie7, ie 7, internet explorer 7

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

Add Google Translation Links

Posted on Jan 10, 2008 | Last Updated Nov 12, 2011

Use this free custom JavaScript functions to add links to translate your web pages with the Google translation tools.

Read More

google translate, translation

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

Comment

No HTML Tags are permitted.

Wall Worm plugins and scripts for 3ds Max