CoderZone.org

 Category: JavaScript

Bookmark and Share

Create Filler Text - Use this snippet to display text on a page when testing or doing design layout work. Handy...
Determine Operating System - JS sniffer detects browser and OS.
DHTML Combo Box Dropdown - Cool script changes your SELECT elements into a Select/Combobox element. Works in Fi...
Download only once - Here is a form that asks for Name and Email address. When the form is submitted the Email ...
Drag And Drop Example - Simple, easy-to-modify drag and drop code.
Dynamically add and remove elements - Dynamically create HTML elements with content wrapped within them accordi...
Dynamically Add/Remove rows in HTML table - Dynamically add or remove rows in an HTML table. On pressing Ad...
Dynamically create HTML elements - Dynamically create HTML elements with content wrapped inside them according ...
Easily Change Text To Lowercase - Changes the text to all lowercase letters as soon as focus is removed from th...
Easy Numeric Array Sorting - The JavaScript Array object only sorts alphabetically, but this small function let...
Easy Style Sheet Switcher - A few points of interest: * The HREF links use JavaScript to set a browser cooki...
Example FOR, WHILE, and DO Loops - Examples of the three different ways you can do loops in JavaScript.
Fade Opacity In and Out - Fades the opacity of text in a div in and out.
Fastest javascript Trim() function - Many implementations of trim() in javascript are poorly written, slow, and...
Find All Elements By Class - A function that returns an array of elements based on DOM element, tag, and class ...
Flip Text Upside Down - Cool effect flips text upside down.
Generate Random Numbers - This will generate random numbers. It pick's a number less than the defined number a...
Get and set radio buttons with Javascript - Easy functions to get and set radio buttons with Javascript. Super ...
Get and set select lists with Javascript - Simple functions to get and set select boxes. Super handy!
Get Easter Date for any year in Javascript - A great function for getting the date of Easter for any year.
Get Mouse Position Coordinates - Get mouse coordinates inside a div or span.
Get Query String with Javascript - It is possible to get the query string from your forms when your form method...
Get Table Row Data On Click - This will grab input from an HTML table row and put it into form data. Mouse over...
Get the computed style of an element - Gets the computed 'style' attribute of an element. Note that this may...
Handy In_Array() Just Like In PHP - This function searches an array for a specified element, just like the in_a...
Hide/Show div - Toggles the display of a div (can also be used on a SPAN).
Highlight table rows on rollover - Easy way to make table rows change color (highlight) when the cursor is move...
Javascript "Fade In On Click" - Fade in any element (text, image, controls, etc) on a click event. Us...
Javascript Confirm Delete Prompt - Confirm a deletion (or any action) with Javascript.
Javascript Cookie functions - Simple examples of setting and getting cookies.

© coderzone.org | users online: 5