JavaScript Sample Code
-
User Defined Splice function
by David Nishimoto
Returns all previous character up to the pattern match
-
Force case restrictions
by Super Tal
Change a text field to all lowercase or uppercase before submitting.
-
Building a MultiDimensional Array in Javascript
by David Nishimoto
Building a MultiDimensional Array in Javascript
-
Combining Javascript and DOM
by David Nishimoto
David Nishimoto demonstrates accessing the Document Object Model available in IE 5 from your javascript code
-
Fading Scrollbar
by Peeyush Nigam
This code can be used to design a Fading Scrollbar, using CSS and JavaScript technology.
-
Animate Button
by Peeyush Nigam
Following code is to develop different animated buttons using the tricks of CSS, Javascript and HTML. The code is effective for IE-5 and above. Developed by Peeyush Nigam (CEO-PARI WEB SERVICES™)
-
Field Content Validation
by Super Tal
Performs validation on a HTML field based on the criteria you specify.
-
Counting down with JavaScript
by Kiran Pai
How to display a countdown using different images and Javascript
-
Navigating backwards/forwards
by Kiran Pai
This script shows you how to emulate the Browsers Back-Forward buttons
-
Cascaded Menu
by Arun Kumar
A fully customizable JavaScript cascading menu for IE 4.0 or later
-
Determining Client Capabilities
by Peeyush Nigam
Determine the capabilities of a client browser from the resolution to the user language.
-
Validating the form contents
by Kiran Pai
How to validate entries in a form before allowing it to be submitted