JavaScript Code, Tutorials, Examples, Reference






Input Form Character Limitation You can use this JavaScript to add a counter of limitation to your inputs such as <input> and <textarea> on your web pages. Just define the limitation for each input, the script does all remaining everything. Very easy to use and customize, let try it now.


Category: Form, Validation

Drag and drop table content with JavaScript This JavaScript code is for dragging and dropping content cells of table. Table can contain colspan and rowspan cells. Large tables will be autoscrolled if dragged object come close to the page border. Dropping to some table cells can be forbidden with setting className="forbid".


Category: Form, Table

Click Radio Button to View Information with images In order to display detailed information about some object; such as member or product; you can use simple JavaScript code. This is upgraded version of Click Radio Button to View Information; this script display image for each item.


Category: Form, Checkbox

Click Radio Button to View Information If you want to save the space on your web pages, let use this JavaScript. When users click any radio button, its corresponding information is automatically displayed. A simple and quick JavaScript but useful and high customization.

Also see: Click Radio Button to View Information with images


Category: Form, Checkbox

Smarter Dynamic Select Options Let use this multiple select script if you want to create select boxes that relate to anothers, by onchange event. Choose a value in the first select options and the script will precess and display the available select values in the second box to match your selection automatically. Easy to use, with full comments in source code.

You can also see more for multiple select, dynamic dropdown,...


Category: Form, Dropdown

Proper Format Sentence Submission Use this JavaScript to make sentence words that users enter correctly, meaning the beginning of each sentence is capitalized, the rest of the sentence is lower case, if they are not proper noun. Let enter some word sentences, sentence examples to test it.


Category: Form

Dependency Fields Manager Use this script to manage the dependency fields on your web, meaning you can hide/display some fields by changing values of others; not meant to replace your server scripting process. Please preview the script and read document.


Category: Form

Numbers Restriction Use this script to prevent users from entering characters which are not numbers.


Category: Form, Validation

Duplicate Data Fields Verifier/Notifier You can use this JavaScript code to verify or notify duplicate value of text boxes when users type them; such as an e-mail address or a password. If values of two data fields are different, this script will provide message error. Or you can use this code for different input fields.


Category: Form

renderSelectOptions: Process data selection Name of this JavaScript is defined as a function, processing all values of a specified selection and display them, very useful if you want to copy some text selection, multiple selection value.


Category: Form

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web
Have a break, have a manatee