javascript Tutorial

javascript is a web design language which can be embedded inside the HTML web page. Javascripts are working at the client side thus reducing the work load of the server. Javascript can be used to change the web page content dynamically, sometimes in order to load faster. For example, some web page contents are just place holders, which will be replaced after page loaded. Javascript can be used to communicate with the server asynchronously, using AJAX. Javascript is supported by most browsers, including IE, Chrome, Firefox, Safari etc.

An outside javascript file can be imported into the web page, and all the scripts in the file can be used in the web page:

<script language=javascript src="test.js"></script>

javascript can be directly embedded in a web page:

<script language=javascript>
var str = "Test Message";
function test(str) {alert(str);}

§§ javascript Basics

§§ javascript Forms & Windows

§§ javascript Array

§§ javascript Strings

§§ javascript Loops & Conditions
» And Or
» For In
» Switch
» While

§§ javascript Number © 2024  | Terms of Use | Privacy | Home