Regular Expression Basics : Match a Set of Characters
A Regular Expression (regex) is a sequence of characters that define a pattern that allows you to search, match, locate, replace, manipulate, and manage text. In this article you'll learn how to use regular expressions to match a set of of characters. 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 ...
Easy JavaScript Picture Selector Code
Suppose you want to create a digital photo album to display a group of pictures, but you don't want the page to be too large. One solution would be to display only one full size picture, and the other pictures as small thumbnail images. More ...
Regular Expressions Intervals
Regular expression intervals tell us about the number of occurrences of a character in a string. Curly braces are used to define a precise count of how many occurrences you are checking for. More ...
Let Your Web site Visitors Set Font Size
In this article, you'll learn that it requires only a few lines of Java Script to let the visitors to your Web site control the font size. You'll also learn how to use a cookie to store their preference on their computer. More ...
JavaScript Code to Add or Remove Specific Elements of an Array
Arrays are very useful in programming because they can be used like a data base. In this article you learn JavaScript with code examples to add or remove specific elements of an array. More ...
Easy Slide Show Code
One of the problems with creating such a slide show is that the images should all be the same size. If the images are not all the same size, your web page may grow and shrink as the different images
are displayed. More ...
Calendars for Your Website
I'll start by showing you how to code a basic calendar that shows the current month with the current day highlighted. Then, how to code a webpage that can display several months simultaneously, and finally, a clickable appointments calendar. More ...
A Brief Introduction to HTML for JavaScript Programmers
Although JavaScript is a neat programming language, the basic foundation of the web is HTML. JavaScript gives you the ability to control and modify the HTML. 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 ...
Including Special Characters in a JavaScript String
In JavaScript you define a string by placing its characters within double quotes. More ...
Creating Java Script Dynamic or anonymous Functions at Runtime
In Java Script you can code a function at design time, or you can have Java Script write the function code during execution. A function that is created at runtime is called an anonymous or dynamic function. More ...
