twitter@js_bankfacebook@jsbankrss@jsbank






Ignore Spaces script Removes spaces from a string variable within a script or from user input into a textbox. Several different uses are shown on the script example page.


Category: Utility,

Search Box This JavaScript code search form opens a seperate window where you can select from search engines such as Yahoo!, Excite, and more. Awesome!


Category: Utility,

Numeric TextBox script This Script can be used to validate your form for numeric values. The Numeric TextBox allows only numbers and accepts one decimal Point. Compatible with both Netscape and Internet Explorer.


Category: Utility,

Remove_XS_Whitespace Strips excess spaces from a field. Users sometimes enter " " in required fields to trick most validation that only checks for "" length fields. This JavaScript takes a string and removes the leading and trailing spaces and also any extra spaces in the string. IE only.


Category: Utility

Remove Returns script Converts carriage returns in a string to the tag so that the input can be properly displayed in HTML. Without the script, returns in an input field are not preserved when submitting in a form. Useful for guestbooks or other times when a user's input must be preserved.


Category: Utility

Rank \'em Create a survey asking people to rank things, and this JavaScript will validate that everything is ranked, and no rankings are repeated. Could be adapted into a solution puzzle or game.


Category: Utility

Radio Question Validator script Validates that every Radio Button question on the form has been answered. No modifications needed!


Category: Form,

Multiple Search Engine script Over 70 popular and unusual internet search engines in a dropdown box. Great little tool to add to a site to help your community grow.


Category: Utility,

Line Wrapper script Wraps entries in a textarea box to whatever number of characters per line you want. For example, The script can automatically insert a return after each 50 spaces, so that the form contents you receive are more readable. (The script does indifferently break lines in mid-word, a possible fix for the next version?)


Category: Utility

Commas script Quickly add commas to any numerical form input. Great for displaying large numbers!


Category: Utility,


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web