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






Text Regular Expression Replacer This is one of regular expression examples on jsB@nk that use RegExp object to find and replace text, but this is simple regular expression code with a few lines.


Category: Utility, Search-code

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

Collapsible Navigation Menus Toggle additional information through on click, that is feature of this JavaScript code. Just one collapsible div is opened each time, the previous one will be closed automatically. You can add unlimited information text select. Very excelent for F.A.Q.


Category: Menu, Navigation

Multilevel Drop Down Horizontal Navigation This code uses both CSS and JavaScript for creating multilevel drop down navigation menus, submenus will appear when users move mouse over them. Customize it as you want, menu is created with CSS - a modern web design technique, by using unordered lists and hidden layers.


Current Document URL Displayer Sometimes we need to display current URL on page, and web developers usually provide the entire path with breadcrumb, certainly. these scripts will be complex. But if you only want simple JavaScript to do this, let place six code lines on where you want to display URL document.


Category: Snippet

XP Style Switch Navigation This code creates navigation menus with CSS stylesheet and operations are similar to Windows XP. Additionally, this code also uses cookie to store the state of the menus, and the fade effect is optional, you can turned it off.

See also: Switch Menu script.


Category: Menu, Navigation

Random Text Generator When designing web site, sometimes we need to fill areas of layout with some text, and we usually do this thing by making some copy & paste on any content when meet.

But with this random code, we will create some random quotes, random texts easily through one click. Three patterns are available: text latin, silly, spanish and italian.


Category: Utility, Generator

Black Bold Hyperlinks With this changing links JavaScript on page, your links make bold after clicked. A good navigating script for websites that using frame or for toggling content.


Category: Link

Onload Disabled Radio Button Groups Let use this JavaScript code if you need to disable groups of radio buttons on the page when it is already loaded. This code can be setuped for many radio button groups on one page. Very easy to customize.


Category: Form, Checkbox

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web