.htpasswd files use crypt(3) to generate encryptions, and this script will do it for you without UNIX or an online script! Provided in .js format for your convenience.
Use this script to encode/decode URL parameters. It is fully compatible with UTF-8 encoding. Very useful when you want to transfer data using Ajax technology, or for other operations which involve URL parameter manipulation.
This script takes the current page location, breaks it up by the forwarding slash and returns a list of all directories, including the domain name. Each item is a hot link to the current directory.
This snippet is a function that validates a URL. It can easily be added to your current validation script.
This script limits the length of multiple form fields and updates the screen as information is entered. It can easily be added to an existing script.
Handle all of your form validation using one script. This one will verify numeric strings; monitor the status of the CapsLock; verify empty strings, numeric, date, alphabetical, or e-mail fields; confirm passwords; verify the formatting of phone numbers; monitor the minimum/maximum numbers of input characters. Includes language-independent error messages and displays error messages in a div or using an alert box.
Give your users the option of changing their entries in your textareas. Add this script to your forms or use it in a WYSIWYG editor.
This script will obtain three unique random numbers. Unique values range from 0-100.
Validate form elements of all kinds: select boxes, text fields (including spaces), radio buttons, force numbers in textfields, etc. Very easy to use. Can be used on all forms.
This script allows you to prompt your users to vote. This is a useful script for taking user polls or contests.
Use this script to produce select boxes that relate to one another. Choose an option in the first box and the script will change the available choices in the second box to match your selection. Easy to use, with comments.
Allows the user to increase and decrease the value in a textbox by clicking up and down buttons. Useful if you would like to allow the user to quickly modify a value in your form. A short script too, just a few lines.
In this order form, the cost for each item is totaled as the items are selected and deselected. This is done without refreshing the entire page in order to save other form information. Heavily commented.
Allowing visitors to upload files through web forms on your site is useful, but how do you limit the types of files they can upload? This script only allows visitors to upload files that end with the file extensions you want, such as .gif and .jpg, etc. Easy!
Identify the language and country of the user's browser. Very comprehensive! IE only.
Use this script to add and subtract items in different fields. Changes made can be displayed for each field.
This cookie records the visitor's name. It can then be used for identification or other purposes, as needed.
Use this script to display a table with all the plugins installed on the visitor's computer. Another neat script because it deals with the user's computer specifics directly.
At times you may need to launch certain links into a new window. The 'target' attribute is deprecated and is therefore not allowed when using XHTML with a strict doctype. Using this script, you will be able to keep your pages valid while also using the target attribute to open new windows.