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

JavaScript and Ajax Tips & Tutorials - Archive: 2007

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.

Copy and Paste JavaScript with an Ajax Engine
It's not necessary to understand the characteristics of Ajax in order to use it. This article provides copy and paste JavaScript with an Ajax engine. No modifications are necessary. By William Bontrager. 1031
How to Create Form Posts with Ajax
Now that Ajax is becoming a standard for handling interactions on the Web it's time to use it to update form submissions. In this article you'll learn how to create a reusable Ajax process for all forms. The source code and a working demo is included. By Kris Hadlock. 0829
Bring Your Forms to Life With JavaScript
In this article you'll learn how to prevent errors in your forms. This method validates the form and provides immediate feedback to the user. If the form has been correctly filled out, the submit button is enabled, if not, the button remains grayed out. By Kris Hadlock. 0822
Simple Game Programming in JavaScript
In the previous article you learned how to create an animation with JavaScript using a timer mechanism, an image of a ball and CSS styles. This time you'll learn how to create a simple ping-pong game. These JavaScript tools will allow you to create games such as Breakout, Tetris, Frogger and more. By Lisha Sterling. 0809
How to Create a JavaScript Animation
JavaScript animations aren't difficult to write. Once you learn a few main ideas, you can create complex animations to display in your browser. Additionally, the content will be available to search engines because the content is in machine-readable (X)HTML. By Lisha Sterling. 0613
JavaScript vs. Flash for Animation
When you think of interactive multimedia on the Web, you probably think of Flash. But Flash creates accessiblity problems, especially for those with disabilities. A solution is to use JavaScript, which avoids many of the issues inherent in Flash. By Lisha Sterling. 0516
Doodle: Part 4, More Power To The User
In previous issues, I kept the user experience somewhat spartan which allowed the application to be modified with a mimimum of effort. This time we add points, ellipses, bezier curves and look at a new application class called Control, which allows users to tell the Doodle application what shape they want to draw next. By Guyon Roche. 0404
How to Create Remote Ajax Requests
One of the most common questions about Ajax is whether it's possible to create remote or cross-domain Ajax requests. The answer is yes and this week you'll learn how to create an Ajax-enabled podcast aggregator with PHP and Ajax. By Kris Hadlock. 0328
Widget Initialization Using JSON, HTML Custom Tags and XML files
DHTML components or widgets exist all over the Internet as calendars, toolbars, menus, etc. This week you'll learn about configuring DHTML widgets, the pros and cons and programming techniques to avoid errors and speed up development time. By Nicolas Erlijman. 0117

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's JavaScript
Weekly how-tos and resources from
All About JavaScript
Canned scripts, tips and tricks, and links to JS info around the world. From, another part of the family of sites.
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.
This WebReference affiliated site is your gateway to all things JavaScript. Featuring javascript tutorials, free java scripts, tools, and links.
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.