JavaScript Examples

JQuery AJAX Example : With Fades!
Use JQuery AJAX to update an area of the page. Use effects to fade-out the element, update it, and then fade it back in.

MooTools AJAX Example : With Fades!
Use MooTools AJAX to update an area of the page. Use effects to fade-out the element, update it, and then fade it back in.

File Upload with "Progress Indicator" Window
When submitting a form with file uploads displays a pop-up window while the files are being uploaded.

Manipulating a Form from a Pop-up Window
Update field values on a form from a pop-up window.

Dynamic Table with DOM
Use DOM functions to create an infinitely complex table.

Counting Checked Checkboxes
This example keeps count of the number of items selected.

Popup Tips
Popup Windows-like "tool tips" by either clicking on a link or moving the mouse pointer over a link.

DOM - Adding a Table Row
Adds a row to a table using JavaScript and DOM.

DOM - Adding a Table Cell
Adds a cell to a table using JavaScript and DOM.

Select List Static Width
Set the width of a drop-down select list to a static value.

Select List Actions
Peforms a different type of action based on what list item is selected.

Rewritting HTML
Replace the contents of an HTML element based on user input.

Date Chooser
Pop up a small monthly calendar and return the selected date to the calling form.