Menu
Easy Java Script Code

Java Script to Get Selected Item from Select List Option Group
Since you may have identically named items in multiple optgroups, you need to a way to get the name of the optgroup as well as the name of the option. The code in this article shows you how. More ...

A JavaScript Function That Returns a Function
Its a fad now in JavaScript to code functions that return functions in order to avoid declaring global variables but the procedure is inefficient and unnecessary. More ...

Calculators for Your Website : Decimal to Hexidecimal Converter
It's not easy for most people to convert between decimal and hexadecimal in their head. In this article, I will provide you with Java Script code for a Decimal to Hexidecimal / Hexidecimal to Decimal Converter. More ...

HTML5 Canvas lineCap and lineJoin Attributes
The HTML5 canvas element is a webpage container for graphics. You can use JavaScript to draw within the canvas element. In this article to learn how to draw lines with round or square end caps and how to specify that where two lines join the joint should be miter, round or beveled. More ...

Easy Animated Banners with Java Script
In this article, I will show you how to use Java Script to create an animated banner. Using Java Script allows you to edit or replace images in the animation sequence, and change the amount of time each image is displayed without doing any recompiling. More ...

Sams Teach Yourself HTML5 in 10 Minutes
One important part of the new HTML5 specification is the new date-time picker control. In this book you create a webform that uses the new date-time picker control, and you'll also create a small PHP server-side program that displays the value you entered into the date-time picker control when you click the Submit button to show how you can extract data from the control on the server. More ...

Java Script Code for Directory File List
In this article You'll learn how to create a webpage that gives a list of the files in a folder. This example is for use with Internet Explorer Web browser on your local computer. More ...

JavaScript to Copy and Paste Text to the Clipboard
In some applications, rather than the user's selection, you may want to copy the contents of a specific html element to the clip board. Or when the user initiates a Paste, you may want to direct the contents of the user's clipboard to a specific html element on the webpage. Here is the code for this. More ...

Regular Expressions Boundaries
In this article you learn how to controls where a regular expression matches a string, on a word or non-word boundary, at the beginning or end of a string. You also learned about multiline mode. More ...

Java Script Random Password Generator
If you're a webmaster or system administrator, you may need to create many unique passwords. In this article, you'll learn what a good password is and how to generate random passwords with a few simple lines of Java Script code. More ...

Creating Basic Java Script Functions
In this article you learn how to create basic Java Script functions. You learn how to use parameters and how to return values, including how to return an array from a function. The article also intoduces variable scope. More ...

Change the Case of a Character in a String
A common task with JavaScript is to change the case of the first letter in a string, or of an internal letter, or even change the case of an entire string. More ...


Learn more at amazon.com

Custom Search