facebook@jsbanktwitter@js_bankgoogle+javascriptbanknewsletterrss@jsbank
Guest, register






ieoBIN.com - The Best IEO List to Discover, Invest in 2019

Print to Preview Your visitors may not be familiar with style sheets for printing and don't see a 'print preview' in their browser. This script will provide them with a reliable print preview.


Category: Snippet

Obtaining the URL of the Referring Document Use this JavaScript snippet to obtain the URL which referred the user to that page. Be aware that on some servers this may not work.


Category: Snippet

Multilinks Sometimes you want a single hyperlink to lead to several pages and present a dynamic JavaScript menu when clicked. This is usually done through an intermediary page. This JavaScript will provide a dynamic JavaScript menu by creating an absolutely-positioned DIV tag on the fly, which will contain the list of links.


Category: Link

LiveEdit Preview your code live, as you enter it. Supports most HTML/CSS tags. Excellent for previewing Web site designs.


Category: Utility, Generator

Limit Characters and Words Entered This JavaScript will allow you to limit the number of words and/or characters entered into a form. Easily customizable. Example script will limit input to either 80 characters or 16 words, whichever comes first.


Category: Form, Validation

Highlighting Link 2 Make your rollovers more noticeable! This JavaScript colors your clickable links on rollover.


Category: Link

Global Time Zone (Japan=1am JST) Pick a country 'from' and a country 'to' get the time difference. Then, enter a time in the window and the time changes to the correct value in other country. The trick was with a +: I needed to use -(a*-1); because strings add each other!


Category: Time, Clock

getXML Obtain the contents of an XML element and convert it to text. This script is great for using with Ajax-type applications, when it's neccessary to send back the contents of an element to the server without knowing what's there.


Category: Snippet

Fly-Out Textbox Use this JavaScript to display several sections of text in a small area. Degrades nicely.


Category: Text

Filler Text on Demand Append filler text on demand through functional links added via JavaScript. Very useful in Web page design layout.


Category: Text

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web