Documentation and Books

Recent site activity

Web Development‎ > ‎

JavaScript

What is JavaScript?

JavaScript is a scripting language most often used for client-side web development. Its proper name is ECMAScript, though "JavaScript" is much more commonly used. "JavaScript" is actually Netscape Communications Corporation's (and now the Mozilla Foundation's) implementation of the ECMAScript standard.

JavaScript is a dynamic, weakly typed, prototype-based language with first-class functions. JavaScript was influenced by many languages and was designed to have a similar look to Java, but be easier for non-programmers to work with. [1] The language is best known for its use in websites (as client-side JavaScript), but is also used to enable scripting access to objects embedded in other applications.

Despite the name, JavaScript is unrelated to the Java programming language; though both have a common debt to C syntax. The language was renamed from LiveScript in a co-marketing deal between Netscape and Sun in exchange for Netscape bundling Sun's Java runtime with their browser, which was dominant at the time. Semantically, JavaScript syntax has far more in common with the Self programming language.

My tutorials :

3rd party tutorials :

Software and downloads :

General questions and answers :

How to enable Javascript in Internet Explorer?
How to enable Javascript in Mozilla Firefox?
How to enable Javascript in Apple Safari?
How to get the value of a Combobox?
How to get the values of a Combobox when i select more then one row?
How to prevent the use of the right mouse button on a page?
How to replace a single character at a known position in a String?
How to do a trim() operation on a String?
How to remove all trailing whitespaces in a String?
How to remove all leading whitespaces in a String?
How to compare two strings in a case insensitive way?
How can i calculate the difference between two dates?
How do i add a number of days to a date?
How do I convert the number of milliseconds since January 1, 1970, 00:00:00 into its corresponding date (dd/mm/yy format)?
Is there an easy way to find all the double ID's in the DOM tree of a HTML page?
The browser i use doesn't support the Array.indexOf function how to solve this?
How to detect what type of browser is used?
How to check if the entered e-mail address is valid?
How to find an element by an identifier or all the elements of the same type on the page?
How can i (un)check a checkbox using Javascript?
How can i check if a textfield only contains digits?
How to force a textfield to only allow digits?
Is it allowed to add custom attributes to elements?
My session in Internet Explorer is lost when i open a pop-up how come?
What kind of mathematical operations are supported in JavaScript?
How to convert a String to URL encoding?
How to convert a String from URL encoding?
How to suppress error messages in JavaScript?
How to create my own JavaScript custom error handler?
How to display the 'Print' dialog using JavaScript?
How to display an alert message?
How to display an OK/Cancel message?
How to prompt the user for a question and answer?
How to display the browser's Add Favorite dialog?

Common problems and solutions :

Techniques and common solutions:

Project site & reference documentation: