Javascript

Validating HTML Data with JavaScript

August 15, 2011

JavaScript can be used to validate data in HTML forms before sending off the content to a server. Form data that typically are checked by a JavaScript could be: – has the user left required fields empty? – has the user entered a valid e-mail address? – has the user entered a valid date? – [...]

Read the full article →

Creating and Storing Cookies with JAVA Script

April 23, 2011

A cookie is a variable that is stored on the visitor’s computer. Each time the same computer requests a page with a browser, it will send the cookie too. With JavaScript, you can both create and retrieve cookie values. Two examples of cookies are cookie name and cookie password. The first time a visitor arrives [...]

Read the full article →