WHAT A LAMP Rotating Header Image

Posts from ‘April, 2007’

Events Handling

By using JavaScript, we have the ability to create dynamic web pages. Events are actions that can be detected by JavaScript.
Every element on a web page has certain events which can trigger JavaScript functions. For example, we can use the onClick event of a button element to indicate that a function will run when a [...]

Loops of JavaScript

Loops in JavaScript are used to execute the same block of code a specified number of times or while a specified condition is true.
JavaScript Loops
Very often when you write code, you want the same block of code to run over and over again in a row. Instead of adding several almost equal lines in a [...]