google+javascriptbanktwitter@js_bankfacebook@jsbankrss@jsbank
Guest, register






Dynamic Table Enter information into this dynamic table and see the power of W3C-DOM compatible browsers. Absolutely Amazing!


Category: Form, Table

JavaScript Add More Unlimited Input Fields The type of this JavaScript effect can be seen on many upload-allowance sites, such as Youtube, Flickr, ImageShack, Picasa, etc. That's your visitors can upload files through this JavaScript code, after a file is selected (from local computer), another input field is automatically added for uploading. This JavaScript code made with DOM skills - a simple JavaScript code example but it's very effective to save the space for your web page.


Category: Form, Textarea

Binary Operators and CheckBox This JavaScript is a good example of the use of binary operations with check boxes to obtain a single number which is the binary representation of the selected check boxes. There is also a button to show you your selections in text form.


Category: Form, Checkbox

Auto-Complete Function on key press Create an auto-complete or auto-suggest text box in JavaScript, without use of prototype handlers and other advanced techniques. This script could be adapted for use in a number of different situations.

Maybe you also want to see our previous auto-complete scripts: Simple Auto-Complete and Auto-Complete Textfield.


Category: Form

Autofill and Select Form Fields When testing forms you don't need to keep filling in the different fields. Use this function to automatically fill-in input blocks and select values in the form for you. Very easy to use.


Category: Form

Mouseover Scroll Buttons Slides an element while the mouse is over some other element.


Category: Form, Table

Sortable Table with Alternating Row Colors This JavaScript will sort tables with ease, creating alternating row colors, as well. Easy to implement.


Category: Form, Table

Simple Auto-Complete This is a JavaScript custom object that uses an array assigned to an input text box. It will fire on the onkeyup event and read from the array and act accordingly. It is very simple to use.


Category: Form

Customize Dropdown Menu 2 Customize Dropdown Menu is designed to display some choices, as: languages, countries, themes,... but it's differrent from original version in browsers. This tool combine CSS and JavaScript to create a dropdown you can add image to tilte, every choice.

Version 2: check if JavaScript is disabled, then add normal dropdown menu

Let's try dropdown below and feel differences.
Tested: IE 7, Opera 9, Firefox 2, Netscape 8.


Category: Form, Dropdown

onMouseOver Button When a user moves the mouse over the button, it will change text. When the mouse is moved away, the text will change back. Perfect for adding short instructions on a submit button.


Category: Form, Button

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web