 |
| Introduction |
| JavaScript is a scripting language widely used for client-side web development. It was the originating dialect of the ECMAScript standard. It is a dynamic, ...more » |
|
 |
| |
|
 |
| Object Oriented Programming |
|
What is Object Oriented Programming?
Everyone that wants to program JavaScript should at least try reading the following section. If...more » |
|
 |
| |
|
 |
| How to |
|
The HTML tag is used to insert a JavaScript into an HTML page.
How to Put a JavaScript...more » |
|
 |
| |
|
 |
|
 |
| |
|
 |
| Variables |
|
JavaScript Variables
As with algebra, JavaScript variables are used to hold values or expressions.
A variable can have a shor...more » |
|
 |
| |
|
 |
| Operators |
| Operators are symbols that are used with variables to allow us to perform certain functions, such as adding, subtracting and etc. The table below lists the ...more » |
|
 |
| |
|
 |
| if Statement |
| The if statement is used to make decisions in JavaScript. Boolean operators are also discussed in this lesson because they are used in along with if stateme...more » |
|
 |
| |
|
 |
| Switch Statement |
| The switch statement of JavaScript The switch statement is basically an enhanced version of the "if-else" statement that ...more » |
|
 |
| |
|
 |
| Functions |
| A function contains code that will be executed by an event or by a call to that function. You can however use a ...more » |
|
 |
| |
|
 |
| for Loop |
|
for Loop
A repeat loop cycles though a group of statements until some condition is met. For instance, you can use a repeat loop to ...more » |
|
 |
| |
|
 |
| while Loop |
|
while and do-while Loops
Two additional repeat loops are available in JavaScript. The while loop tests the supplied condition and ...more » |
|
 |
| |
|
 |
| Popup Boxes |
| JavaScript Popup Boxes In JavaScript we can create three kinds of popup boxes: Alert box, Confirm box, and Prompt box. ...more » |
|
 |
| |
|
 |
|
 |
| |
|
 |
| Events |
| JavaScript Events are items that transpire based on an action. A document event is the loading of an HTML document. A form event is the clicking on a button...more » |
|
 |
| |
|
 |
| Date and Time Object |
|
The Date object is useful when you want to display a date or use a timestamp in some sort of calculation. In Java, you can either make a Date object by sup...more » |
|
 |
| |
|
 |
| Special Characters |
| In JavaScript you can add special characters to a text string by using the backslash sign. Insert Special Characters The bac...more » |
|
 |
| |
|