Java Script Message Boxes
Java Script provides three different types of message boxes that allow you to display a short message to the user, or request a bit of information from the user. If one of these built-in message boxes don't suit your needs, this article shows you how to create your own custom message box. More ...
Debugging JavaScript : Coercions
JavaScript is not a tightly typed language. Sometimes this comes in handy, but other times it can cause problems. 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 JavaScript FileReader Code
The JavaScript FileReader object allows web pages to read files stored on the user's computer. Files may be selected using the input element, or selected with a drag and drop operation. More ...
Using the Java Script Date Object
When you want to work with a date in Java Script, you need to use the Date object. In this article, you learn how to create a Date object for today, or for any date in the past or future. You learn how to find the difference between two dates, and how to format a date string any way that you desire. You also learn how to validate a date string returned from a text box in a form, which involved an introduction to JavaScript regular expressions. More ...
Create Your Own Database Using Only Notepad : CDV
In this article you learn how to create a database using only a basic text editor along with any web browser. You won't believe how simple and powerful this method is. The database we design will have powerful features. More ...
Introduction to JavaScript Programming
JavaScript is a wonderful little programming language. It's a client-side, meaning it runs right on your local computer, not on the web server, and it's a scripting language meaning
it's run by an interpreter. More ...
Concatenating a String and Another Data Type
To concatinate a string and a number, use the styring concatination operator. This is because JavaScript converts the number to a string. To use the + operator with a number, or numbers that are in string data type requires using parseInt() or parseFloat() to convert the strings to numbers. 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 Web Site
If you have a Web site where your visitor would find an online calculator very handy, with a little Java Script code you can easily provide a custom calculator right on your Web page. More ...
Calculate The Points of an Equilateral Triangle
Starting an equilateral triangle is easy, you just draw a line. However, drawing the third point to create an exact equilateral triangle requires a bit of calculation. 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 ...