JavaScript and Ajax Tips & Tutorials - Archive: 2003 | WebReference

JavaScript and Ajax Tips & Tutorials - Archive: 2003

JavaScript is an easy-to-use programming language that is common on Web pages. It can enhance the dynamics and interactive features of your site with small amounts of code.

Ajax (Asynchronous JavaScript and XML), is a group of inter-related Web development techniques (including JavaScript, PHP, among others) used for creating interactive Web applications.

Compact JavaScript DatePicker Control
One of the many types of data entered into web forms is the date. The three main problems when handling date fields are Garbage Data, Validating, and Formats. To address these issues, here is a customized DatePicker control. By Guyon Roche. 1226
Web Interfaces - Why They Will Prosper
Despite the issues confronting Web interfaces, they are still the interface of choice for several reasons, such as easy development, low cost of entry, superior navigation and menuing capabilities over desktop alternatives, cross platform portability and more. By Jacques Surveyor. 1112
Debugging JavaScript Using Venkman, Pt. 2
If you're looking for more than a rudimentary JavaScript debugger, look no further than Venkman. In part two of this series, you'll learn how to use it in your JavaScript development. By Keith Schengili-Roberts. 1031
The HTML Form Element
Form elements are probably one of the most important aspects of HTML encountered when browsing the Web. Here, we'll look at some common attributes used for form elements, including children elements (known as controls) and common form submission issues. by Khalid Ali. 1016
Debugging JavaScript Using Venkman, Part 1
Most people who do JavaScript programming are familiar with the rudimentary JavaScript debugger in Internet Explorer. But if you're doing a lot of programming and you're concerned with cross-browser support for your scripts, then Venkman is worth checking out. By Keith Schengili-Roberts. 0925
IE XML Data Island Functionality in NS6+ Browsers
In this article we'll take a look at 3 different approaches to import/embed XML in your HTML pages. These are: the IE Specific Approach, the Direct Approach and the Cross Browser Approach. By Khalid Ali. 0912
Object Sniffing New Browsers, Part 3: Opera
In this series we've looked at how you can use object detection to distinguish between various browsers and tailor your Web code to take advantage of their individual features (or lack thereof). In this last article, we look at the other major browser out there, namely Opera. By Keith Schengili-Roberts. 0822
Object Sniffing New Browsers, Part 2: Other Browsers
In the first article we looked at how you could use object detection to distinguish between Konqueror, Safari and OmniWeb. Here, we go further, using JavaScript object detection to distinguish between recent versions of the Netscape browsers. By Keith Schengili-Roberts. 0813
Object Sniffing New Browsers, The khtml Triumvirate: Part 1
This article is the first of a short series looking at how to "sniff" out the latest browsers. Topics covered: why you can't always trust user-string, and how to detect browsers based on the khtml rendering engine (Konqueror, Safari and OmniWeb). By Keith Schengili-Roberts. 0718
JavaScript Chess Simulator: Chapter 2
In the previous section, we looked at the key components and requirements of this application, etc. In this chapter, we'll cover the basic movement of each piece, the capture of one piece by another, special moves such as castling and stepping backwards though the move list. By Greg Griffiths.
JavaScript and ActionScript
JavaScript and ActionScript share a syntactical core - ECMAScript edition 2. This gives JavaScript coders a leg up on using one of the most popular animation formats - Flash .SWF files. By Jacques Surveyor.
Netscape's JavaScript?
In the complex world of web development, arriving at good, open standards - even for a language as solid as JavaScript - can be a complex process. Author Jacques Surveyor delves into this mystery.
Form Elements Overlapping A Styled Layer
In this article, author Khalid Ali discusses a problem with form elements and how they can overlap styled elements. Here, he presents a workaround for it, using JavaScript.
JavaScript Chess Simulator Pt. 1
In this article, author Greg Griffiths reworks an existing JavaScript Application - a Chess Program, Here, he details the inner workings, including Array Handling, Regular Expressions and elements of good design practice.

Archived JavaScript and Ajax Tips & Tutorials

Specs and Documentation

Core JavaScript Reference: Version 1.5
This book (in HTML format) is a reference manual for the core JavaScript language, version 1.5. Can be used in conjunction with the Core JavaScript Guide, listed below. Written by the developers at Netscape Communications. An excellent resource.
Core JavaScript Guide: Version 1.5
Starting at the beginning, this reference explains everything you need to know about using core JavaScript. This reference assumes you have the following basic background: a general understanding of the Internet and the World Wide Web and a good working knowledge of HTML. Written by the developers at Netscape Communications. An excellent resource.
JScript Documentation
Technical information and tutorials. From Microsoft.
ECMAScript Language Specification
A PDF version of the official specification for ECMAScript, the vendor-neutral standard for what was originally Netscape's JavaScript

JavaScript Book Excerpts

Here is our complete library of book excerpts covering JavaScript and Ajax.

Archived Doc JavaScript Columns

The Doc JavaScript Archive - These JavaScript articles were written by the Doc JavaScript team (Yehuda Shiran and Tomer Shiran) between 1997 and 2002.

Other Tutorials [Off Site]

Beginning JavaScript Tutorials
Tutorials designed so that even beginners can begin using javascripts on a web page.
JavaScript for the Total Non-Programmer
A good introductory tutorial for beginners. This site walks you throught the basics of Javascript.
JavaScript Tutorial for Programmers
A JavaScript tutorial aimed primarily at those with some prior programming experience. Focuses on illustrating the syntax and methodology of JavaScript.

Collections

About.com's JavaScript
Weekly how-tos and resources from About.com.
All About JavaScript
Canned scripts, tips and tricks, and links to JS info around the world. From WebDeveloper.com, another part of the internet.com family of sites.
BrainJar
All about Web development and programming. Rather than simple "cut and paste" listings, you'll find detailed articles on client and server side coding. Supports W3C standards. By Mike Hall.
Danny Goodman's JavaScript Pages
Examples of JavaScript implementation available for downloading in addition to the JavaScript mini-FAQ. Goodman is a noted author and scripter.
Dynamic Drive
Free DHTML sripts and components for your Web site. Frequently updated.
Google's JavaScript Resources
JavaScript references and listings from DMOZ/Google.
JavaScript.com
This WebReference affiliated site is your gateway to all things JavaScript. Featuring javascript tutorials, free java scripts, tools, and links.
javascripts.com
A database with free JavaScripts, discussion groups and news.
JavaScript and CSS DevCenter
O'Reilly Net's JavaScript portal, includes JavaScript news feed.
JavaScript Source
An excellent JavaScript resource with lots of free cut & paste JavaScript examples with source code included.
JavaScript Kit
Tutorials, code, and discussion. Constantly updated for new material and revisions.