Menu
Easy Java Script Code

Regular Expression Position Matching
In this article you how to use regular expressions to match characters at the beginning, end, both beginning and end, or at any specified location in a string. More ...

Where Did the User Click?
This code creates a webpage with an html div containing the words ONE TWo THREE. A Java Script function uses the event object's clientX and clientY properties to determine which word the user clicked on and displays it in a message box. More ...

Play Music on Your HTML5 Web Page
In this article you learn how to play and control music on your webpage including adding a play list and custom controller. More ...

JavaScript Cookbook
JavaScript Cookbook is chock-full of code recipes that address common programming tasks, as well as techniques for building web apps that work in any browser. Just copy and paste the code samples into your project. 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 ...

Easy Picture Zoom Code
This article provides the minimal code for four different methods to add zoom to the pictures on your Web page. The first method uses a single image. When you click on the image a JavaScript function is used to enlarge the image. More ...

How to Place Image on HTML5 Canvas
The canvas element is a webpage container for graphics. You can use JavaScript to draw graphics within the canvas element. In this article to learn how to place an image on a canvas with example code. More ...

Basic State Machines
A State Machine is a program, logic circuit, or mechanical device, that has a finite number of legal states. For example a traffic control signal can be red, yellow, or green. It can't be red and green. It can't be violet. More ...

Object-Oriented JavaScript
Once listed as nice to have, these days knowledge of JavaScript is a deciding factor when it comes to hiring web developers. This book treats JavaScript as a serious object-oriented language, showing you how to build robust, maintainable, and powerful libraries and applications. Read this book if you want to be able to take your JavaScript skills to a new level of sophistication. More ...

Java Script to Get Selected Item from Drop-down Select List
An HTML Select list is a form control used to create a drop-down list of items from which the user can select. This article provides code to get the selected item from a select list. 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 ...

Regular Expressions Lookarounds
In this article you learn how to match a pattern only when it comes after another pattern (or after not that pattern) or only when it comes before another pattern (or before not that pattern). More ...


Learn more at amazon.com

Custom Search