Changes

Jump to: navigation, search

JavaScript Flow Control and Looping

2 bytes added, 20:32, 19 November 2007
The JavaScript ''if ... else'' Statements
<pre>
if (customerName == "Fred")
{
document.write ("Hello Fred!");
}
else if (customerName == "John")
{
document.write ("Hello John!");

Navigation menu