developingskills.com by developers, for developers

JavaScript

JavaScript

JavaScript (originally LiveScript) was invented by Netscape in the mid 1990's as a means of introducing dynamic content to HTML pages for the Netscape Navigator web browser. Later, Microsoft developed their own variation, JScript, in order to do the same thing for Internet Explorer. Although the JavaScript and JScript languages are not always interchangeable, both are usually referred to as JavaScript by developers. To help ease the confusion, the latest versions of both JavaScript and JScript comply with an international standard, known as ECMAScript. The script engines of newer browsers, such as Opera and Konqueror, have been designed to support the ECMAScript standard, rather than JavaScript or JScript, to avoid having to implement the additional IE/Navigator specific features of these languages.

JavaScript and JScript are also used for server-side scripting. In particular, the combination of ASP and JScript 5 (which introduces structured exception handling to JScript via "try", "catch" and "finally") provides a powerful and elegant means of generating and processing web pages on the server. However, PHP is becoming the most widely supported scripting language in this area.


Related links on developingskills.com

Adding trim functions to the JavaScript String object

A brief tutorial showing how to add ltrim, rtrim and trim functions to the JavaScript/JScript String object using regular expressions and the prototype property.

Random Numbers in JavaScript

How to generate integer or floating point random numbers within a specified range.

Numbers from Strings

Some important rules to remember when adding numbers that are stored in strings.

Rounding in JavaScript

A discussion of the rules for rounding numbers, with code samples that do the most popular types of rounding using JavaScript.


Related links on the internet

WebFX

Classy collection of DHTML widgets for the IE, Opera and Mozilla browsers. According to the authors, these scripts deliver "what you never thought possible".

Peter-Paul Koch's JavaScript Section

Tutorials and discussion on all aspects of JavaScript by an experienced JavaScript developer. Includes some enlightening chapters on browsers and DOM compatibility.

W3Schools Online

If you want to learn about web development, you could do a lot worse than to make this site your first point of reference. It contains the largest collection of tutorials that we've seen so far in just about the widest variety of web technologies, including HTML, XHTML, CSS, XML, XSL, DTD, SOAP, VBScript, JavaScript, SQL, ADO and the .NET products. Fantastic.

Web Reference

Great site for HTML, DHTML, Perl, JavaScript and XML developers. A myriad of articles and tutorials about these subjects, plus usability and other development issues.

javascript.faqts

Many common JavaScript programming questions, most of which have been answered concisely and accurately.

Web Monkey

Long established site providing a large number of tutorials and articles about HTML, JavaScript, Perl, PHP, mySQL and many more topics to do with web development and management.

DevGuru

Thousands of pages of expert advice on programming for the internet on Microsoft platforms. Covers ADO, ASP, Jet SQL and WML, as well as the usual web languages.

1st Page 2000 2.0

A free and feature-rich web page editor. Includes syntax highlighting, context sensitive help, spell checker, code templates, code snippets and a highly configurable interface. For everyone from the HTML novice to the advanced DHTML and CGI author.

MSDN Online

Microsoft's repository of development knowledge. A vast library coupled with a large downloads section featuring many free products.

JavaScript Kit

Lots of JavaScript tutorials from beginner to advanced levels of difficulty. Several JavaScript examples exploring the cutting-edge features of the newer Microsoft and Netscape browsers.

Web Coder

This would be one of the very best sites about CSS and JavaScript if it had been updated for version 5 and 6 browsers. As it is, there are still many great tips and tutorials on CSS and JavaScript to be found here. The code examples may have been developed for version 4 browsers, but almost all of them are still as valid today.

Dynamic Drive

A collection of DHTML scripts, written in JavaScript 1.2+, to add a bit of sparkle and panache to your pages. The scripts are currently targeted at Netscape 4 and IE 4/5, although nearly all will work on IE6 and a few will work on Netscape 6.

JavaScript Documentation

Netscape's JavaScript and DHTML references to view online or download.

Script Search

A large collection of applets, code snippets and assorted widgets written in languages such as Java, JavaScript, Perl, Python, VB, XML, PHP and others. Each item is rated.

Hot Scripts

Code snippets and complete programs written in C/C++, Java, JavaScript, PHP, Perl, Python and more. A particularly large number of PHP and Perl scripts can be found here. Many of the scripts are user rated and the site has its own search engine to help you find what you're looking for.

Internet Related Technologies

Articles, tutorials and FAQ about several web development topics including ASP, CGI, CSS, design, graphics, HTML, JavaScript, Apache, VBScript and XML.

The Free Country

A great resource for developers, produced by Christopher S L Heng. Contains links to freeware tools for developing in C/C++, Basic, Pascal, Fortran, Perl and several other languages, and tools for web development. In addition, there are several articles by the site's author, in which he shares his experiences of, and opinions on, the choices facing web developers.

Web Review

Online magazine with articles about web development issues, ranging from tutorials about a particular programming problem to discussions about the state of the web development industry.