DirectedInsight
NEWEST
Different ways to show the user they're wrong.
Helpful
Some simple queries that can save you some research time
NEWER
Complete AJAX example.
COOL
Dynamic file upload fields

Javascript samples and demos

Form Validation Error Indicators
You've got a form.
It is a nice form.
You want your users to fill out your form in the manner in which you intended. Sounds good so far, but when the users don't quite get it right, how do you let them know with out frustrating the heck out of them? Here are some methods of letting them know that something isn't filled our correctly, from the simple to the sort of slick.


Ajax Demo
A full demo of how to perform a simple Ajax look up. This is a complete example not just the JavaScript, but includes the form itself and the page that returns the data to the database.


Sortable Tables
This script allows you to make all of your HTML tables sortable with a few simple additions to the HTML. The Javascript can be configured to handle almost any type of data that your table contains.


Clear a File Input Element
Ever want to allow a user to clear an input of type file? Most browsers wont let you change the value of these elements for security reasons. The example here shows you how you can at least let your users clear a selection if they change their mind.