HOME

JS Basic
JS HOME
JS Introduction
JS How To
JS Where To
JS Variables
JS Operators
JS Functions
JS Conditional
JS Looping
JS Guidelines

JS References
JS String Object
JS Array Object
JS Date Object
JS Math Object
JS Window Object
JS Frame Object
JS Form Object
JS Browser Object

Examples/Quiz
JS Examples
JS Quiz Test
Award Winning Web Host Full Services Including Ecommerce
Please visit our sponsors !

JavaScript Tutorial

previous next

JavaScript Tutorial

JavaScript is the programming language of the Web! In our JavaScript tutorial you will learn how to write JavaScripts and insert them into your HTML documents, and how to make your pages more dynamic and interactive. Start Learning JavaScript!

JavaScript Examples

Learn by 100 examples! With our editor, you can edit the source code, and click on a test button to view the result. Try-It-Yourself!

JavaScript Quiz Test

Test your JavaScript skills at W3Schools! Start JavaScript Quiz! 

JavaScript Reference

At W3Schools you will find a complete JavaScript reference about objects and their properties and methods. JavaScript Reference.


Table of Contents

Introduction  
This chapter is a short introduction to JavaScript. It explains what JavaScript is, and how it works. It also explains what you can do with JavaScript.

How To  
This chapter will teach you how to put a JavaScript into an HTML document, and how to handle older browsers. 

Where To  
This chapter will teach you where to put a JavaScript into an HTML document, and how to use external scripts. 

Variables  
This chapter will teach you how to write and use variables in JavaScript.

Operators  
This chapter will teach you how to use the operators in JavaScript.

Functions  
This chapter will teach you how to write and call functions in JavaScript.

Conditional statements  
This chapter will teach you how to use the if..else and the switch statement in JavaScript.

Looping statements  
This chapter will teach you how to loop in JavaScript.

Guidelines  
You should read these guidelines before you start scripting.

String object  
This chapter explains the String object, with working examples.


JavaScript Objects

String object  
This chapter contains a description of the String object, a list of its properties and methods, and examples on how to use the object.

Array object  
This chapter contains a description of the Array object, a list of its methods, and examples on how to use the object.

Date object  
This chapter contains a description of the Date object, a list of its methods, and examples on how to use the object.

Math object  
This chapter contains a description of the Math object, a list of its properties and methods, and examples on how to use the object.

Window object
This chapter contains examples on how to use the Window object.

Frame object  
This chapter contains examples on how to use the Frame object.

Form object  
This chapter contains examples on how to use the Form object.

Browser object 
This chapter contains examples on how to use the Browser object.


JavaScript Examples/Quiz

JavaScript Examples
Lots of JavaScript Examples !!!

JavaScript Quiz Test
Test your own JavaScript skills !!!


previous next

Jump to: Top of Page or HOME or Printer Friendly Printer friendly page


Search W3Schools:


What Others Say About Us

Does the world know about us? Check out these places:

Dogpile Alta Vista MSN Google Excite Lycos Yahoo Ask Jeeves


We Help You For Free. You Can Help Us!


W3Schools is for training only. We do not warrant its correctness or its fitness for use. The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2002 by Refsnes Data. All Rights Reserved


Validate How we converted to XHTML Validate

IISProtect
Password Protect
Your Web Pages



Your own Web Site?

Read W3Schools
Hosting Tutorial



$15 Domain Name
Registration
Save $20 / year!



Advertise
at W3Schools

Only 0.5 CPM



SELECTED LINKS

University Online
Master Degree
Bachelor Degree


Web Software

The Future of
Web Development


Jobs and Careers

Web Security
Web Statistics
Web Standards


PARTNERS

W3Schools
TopXML
VisualBuilder
XMLPitstop
DevelopersDex
DevGuru
Programmers Heaven
The Code Project
Tek Tips Forum
ZVON.ORG
TopXML Search