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






Extreme Form Field Validator Handle and precess all of your form field validations using just one script. This JavaScript can verify numeric strings; monitor the status of the CapsLock state; verify empty strings, numeric, date, alphabetical, or e-mail fields value; confirm passwords; verify the formatting of phone numbers; monitor the minimum/maximum numbers of form input characters. Includes language-independent error messages and displays error messages in a div or using an alert box.


Category: Form, Validation

Simple JavaScript for Auto-Sum with Checkboxes This JavaScript code example uses a for loop to calculate the sum of JavaScript checkbox values. This JavaScript will display a running total automatically when visitors click to select an item without reloading the current page. Very easy to edit and implement into your existing web forms.


Category: Form, Checkbox

Adding HTML Controls Use this JavaScript to add HTML controls to your forms. This example uses the <input> tag.


Category: Form, Textarea

Validation (Guestbook) Use JavaScript to ensure that all elements of a form are properly filled out before mailing.


Category: Form, Validation

JavaScript Text Auto-Select onClick If this JavaScript code example installed on a web page, when users click on text-container HTML elements then it will select all of its inner text automatically.

At present, this JavaScript code made to work on elements such as input, textarea, div, span, td, and pre. You still can edit it to work more HTML elements as you want. That's so helpful for website with a lot of text.


Category: Form

Copy to Clipboard using Flash On the Internet in general and JavaScript in particular, there are many codes and tools to help your visitors copy text directly into the clipboard without through the browser or operating system. However, most restrict of these code are they only run on Internet Explorer, so you try to use this effect, it uses a Flash file to convert and perform the copy to the clipboard.


Category: Form

Validation (Character) Automatically removes specified characters from input box. Good for fields that require only text/number inputs. Easily modified to accept only text or only numerals.


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

Simple JavaScript Code for Layer Display Toggle One more JavaScript code example to show/hide a layer every time the users click the specified text link. In live demo of this JavaScript code example, the script used to toggle the comments in a post.


Category: Form

Blinking Textbox Effect When executed, this JavaScript will place the cursor in a specified textbox, causing its background to blink for 6 seconds. This will highlight the textbox on the Web page in order to draw attention to it.


Category: Form

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web