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






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

Text Input Masker This script uses Prototype library - unobtrusive JavaScript to implement "input masks". The maximum field length is automatically limited to the length of the mask. The characters that are entered into the fields are constrained, and separators are automatically added. (No actual validation is done. Check our site for validation scripts.)


Category: Form

Validate Numeric Only This JavaScript verifies that a string is numeric, otherwise it deletes the non-numeric character.


Category: Form, Validation

JavaScript RegEx Example Code for Text Input Limitations One more JavaScript code example to limit user inputs with many options: non-alphanumeric characters with spaces, removes extra spaces (multiple consecutive, leading and trailing) and blank lines. In this live demo, you can only enter upto 20 characters per line or a total of 10 lines.

The advantage of this JavaScript code example is it's made with RegEx, so user input filters will be processed better.


Category: Form

Sentence Caps Use JavaScript to convert entries to sentence caps. Also, this JavaScript prevents jokers from typing in all caps.


Category: Form

HTML Table Filter Generator This JavaScript adds to any HTML table a grid enabling users to perform multi-criteria searches. This feature can be useful with tables containing large quantities of data.


Category: Form, Table

Simply Button v2: Super Cool-Sexy Button for Your Website Let's use this simple JavaScript example code, CSS button code to replace the boring default button of browsers by Simply Button v2. These super sexy buttons have a lot of advantages from the default buttons:

- Buttons size to fit your any text.
- There are 3 states: Inactive, Active, and Hover.
- They look and behave the same way in every browser and operating system.
- The do not need the JavaScript to work, they work with just the CSS button style.
- Way better looking CSS button codes than what anyone else can do with XHTML/CSS, isn’t that reason enough?!


Category: Form, Button

JavaScript OOP with Input Display Toggle Usage of this JavaScript code effect is just toggle (show/display) the input text fields when the users click the specified input checkboxes. But this JavaScript code example made with OOP skills, it's still a good JavaScript code example for JavaScript OOP beginners.


Category: Form, Textarea

JavaScript Dynamic Drop Down Values on Action If your web pages have a huge list of options to show in the drop down menus (listed into categories), why don't you consider to use this JavaScript dropdown code example? This JavaScript dropdown menu generates multiple choices of drop down list in your web forms. Users click a link of category to change the content of drop down list dynamically. Add as many JavaScript dropdown value and categories as you want. Full detailed documentation of script explained in the script comments.


Category: Form, Dropdown

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


Category: Form, Table

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web