A function is a block of code which can be called from any point in a script after it has been declared. It is good programming practice to use functions to modularize your code and to better provide reuse. This article explains benefits of using functions in JavaScript.
For Javascript beginners or as a reference.
Short examples with easy to follow explanations.
No long examples with bulky html forms. If you want to split an array, you get the code to split an array.
The tutorial covers the basics quickly moving onto implementation, strings, variables, mathematical operators, forms and advanced scripts in 5 easy stages!
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
Meant to be a "basic overview" of the world of JavaScript, including who developed JavaScript, How to, Where to, JavaScript vs. Java and so much more. Get introduced to JavaScript today!
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
One of the most essential parts of the programming language is the ability to repeat some common action. This is called a loop or a cycle. You can find more details in this tutorial.
This tutorial will teach you basics to make you familar with arrays in JavaScript. You will learn how to access array alements, initalize arrays and use them in functions.
If you are new to javascript this tutorial would be a good place to start. Learn the basics of javascript, as well as some of the most commonly used javascript functions, such as: alert, prompt, redirect your web page's visitors.