JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript

Learn to write your own JavaScript programs from these tutorials.

By Stephen Chapman, About.com Guide to JavaScript

You can only do so much to enhance your web site using JavaScripts written by someone else. Eventually you will need to learn how to write your own in order to provide some functionality not catered for by scripts that you can copy. These tutorials cover a wide range of different aspects of JavaScript and should get you started on the way toward writing your own scripts.

  1. JavaScript for Beginners
  2. Validate Form Content
  3. Animation
  4. Popup Windows
  1. Learn Ajax
  2. Controls and Widgets
  3. Bookmarklets and User Scripts

JavaScript for Beginners

You do not need prior programming experience to be able to follow this tutorial series that takes you step by step through how to write your own JavaScript programs. No longer will you have to rely on pre-built scripts written by others. You will be able to write your own scripts that do exactly what you want them to do.

Validate Form Content

You can validate what your visitors enter into fields on your form both when they enter the field itself and immediately before they submit the form. Regular Expressions are one of the more difficult to understand parts of the JavaScript language. These tutorials will show you how to validate your forms without needing regular expressions as wll as how to use regular expressions to make form validation much shorter to code.

Animation

Learn how to put DHTML animations onto your web page with this series of tutorials. We will start by looking at how we can make objects appear and disappear and the progress to cover how we can make the objects move about on the page. You may also want to learn more about the Document Object Model which is how JavaScript interacts with the web page.

Popup Windows

ThPopup windows, thumbnail image popups, resizing browser windows, scrolling the window content, frames and more. Take as much control of your visitor's browser as they allow.

Learn Ajax

This series of tutorials will introduce you to Ajax by taking you step by step through the code of a simple example. Of course you will then need to use the Document Object Model to update your page with the new content that the Ajax call returns.

Controls and Widgets

Add JavaScript controls and widgets such as slideshows and hypertext popups to enhance your visitor"s interaction with your page.

Bookmarklets and User Scripts

Bookmarklets (or favelets as some call them) are JavaScripts that are attached to the bookmarks or favorites menu of your browser so that they can be run against any web page that you view. User scripts go one step further by allowing you to have scripts that run automatically against each web page you view.

Newsletters & E-courses

JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.