JavaScript Sitemap - Page 1 2016-09-26

Javascript Tutorials
learn javascript dom ajax form validation popup windows animation

Javascript Courses by Email
Sign up for one of the email courses and learn more about Javascript

Improving Your JavaScript
JavaScript has evolved over the years and there are things that can be done with JavaScript now that couldn't be done a few years ago. These tutorials present ways in which you can take existing JavaScript from a while ago and rework them to make better use of the newer features that are now available.

Coding Tips
Short tutorials on how to code particular JavaScript statements including alternatives and any associated problems.

Moving JavaScript Code from HTML to an External File
You don't have to code JavaScript into your web page's HTML document. For efficient JavaScript, move it to an external file and link to it instead.

Problem Solving
No matter whether you are a beginner or an expert with Javascript programming you will have scripts that don't work. Here is some information to help you solve those problems.

Regular Expressions
Regular Expressions are one of the more difficult to understand parts of the Javascript language. This series of tutorials will take you step by step through how regular expressions work and how to code them.

Converting Numbers to Words Using JavaScript
It's easy to show the results of calculations as numbers, but converting numbers into word form is more complex. This JavaScript let you do this.

Validating Forms
Verifying what has been input into a form before it is submitted can save both your time and that of your visitors.

Validating Forms Using Event Handlers
This older series of tutorials on validating forms uses event handlers in the HTML rather than event listeners in the JavaScript.

More Form Field Validations
Form Field Validation scripts and how-tos by your Javascript Guide.

Setting Up and Validating Radio Buttons
Everything you need to know about radio button creation, including grouping buttons, associating text with each button and validating user selections.

Dates
Answers to frequently asked questions on how to use dates with Javascript.

Arrays
Answers to frequently asked questions on how to use Arrays in Javascript.

Bookmarklets and User Scripts
Bookmarklets are one of the best kept secrets of scripting and the browser. These tiny utility scripts reside in your browsers toolbar or bookmark list and are great for power surfing and development. Learn to create your own or use existing ones. User scripts go one step further by allowing you to have scripts that run automatically against each web page you view.

Javascript Controls and Widgets
Add Javascript controls and widgets such as slideshows and hypertext popups to enhance your visitor's interaction with your page.

Effects
Answers to frequently asked questions on how to create effects using Javascript.

Form Controls
Add these controls to your page using form fields and Javascript together.

Objects
Answers to frequently asked questions on how to use objects with Javascript.

Add a Print Button or Link to Your Web Page
Here are simple code additions you can use to insert a print button or a print link to your web page, and define what content will be printed.

Block Right Click Access to Context Menus on Web Pages
You can disable access to the right-click context menu on your website with this JavaScript, but it may annoy your visitors, and it can be thwarted.

Animation and Special Effects
Javascript can be used to add all sorts of fancy effects to your page from having images change when the mouse points to them to animating your page.

Image Manipulation
You can use Javascript to animate your images, resize them, hide them, and more. Image manipulation scripts are amongst the simplest of Javascripts to write.

Add the Game Concentration to a Web Page with JavaScript
Test your website visitors' memory skills by adding the memory game known as Concentration to your web page using this simple JavaScript code.

Online JavaScript References
Links to online references for the JavaScript language, document object model, DHTML, and more

Class References
Information about the properties and methods associated with Javascript built-in classes.

Display the Last Modified Date Using JavaScript
Want to know when a web page you're on was last updated? Here's a JavaScript command you can use in your browser to display its last modified date.

Create a JavaScript Text Marquee
This JavaScript allows you to display one or more marquees containing text that will scroll continuously except when the mouse is moved over them.

How to Make a JavaScript Continuous Image Marquee
This script allows you to display horizontal marquees of continuous scrolling images without a break except when the mouse is moved over them.

JavaScript Functions - Returning a Value
As well as being able to pass parameters to a function in JavaScript, we can also return a value from the function. Get a tutorial on how to do this.

Get a Free JavaScript Download
You don't have to pay for JavaScript, and you don't have to write it yourself either -- unless you want to. Find out about free JavaScript downloads.

Updating Free JavaScripts
Just because you got your JavaScript free, doesn't mean you can't update it. Page 2.

What Is JavaScript? All About Programming Language
What is JavaScript? It's a popular programming language. This article will answer all your basic questions about what JavaScript is and how to use it.

What is JavaScript Used For? An Explanation
What is JavaScript used for? Just where does JavaScript fit into the overall picture when it comes to building web pages correctly? Learn more.

Unobtrusive JavaScript - Updating the Web Page
Modern JavaScript has a standard way of interacting with web pages called the Document Object Model.

self and Multiple Objects
Once you start attaching event processing to objects different browsers associate 'this' with different objects. We can make sure we know what object we are referencing by copying 'this' into our own property - usually called 'self'.

Creating New Objects Without Copying Existing Ones
You don't have to directly copy another object in JavaScript when creating a new one. There are more sublte ways of creating new objects.

Unobtrusive JavaScript - Functions and Methods
In JavaScript functions and methods are exactly the same thing as all functions are methods.

What is Object Oriented JavaScript?
Introducing a series of tutorials on how and why to use an object oriented approach to writing JavaScript.

Unobtrusive JavaScript - Hello World - The Script Code
Let's start looking at how to write modern unobtrusive JavaScript by looking at how to write an unobtrusive Hello World script. Page 2.

Unobtrusive JavaScript Events
The first step in making your JavaScript unobtrusive is to move all the event handlers out of the HTML into the external JavaScript file.

Getting Started With JavaScript
Introduction to a series of tutorials on programming with JavaScript

The Browser Object Model - Viewport Size
The one part of JavaScript that does not have a standard is the Browser Object Model. Here we look at a cross browser way of obtaining the viewport size.

JavaScript A Shorter IF Statement
When you are assigning different values to a single field depending on a condition, JavaScript provides a way to combine the decision into the assignment.

JavaScript Decision Making - If and Switch/Case Statements
JavaScript has two ways it can make decisions on what code to run. The more commonly used way is to use if statements but switch statements also have their uses.

JavaScript Tutorials and Scripts
Learn to write your own JavaScript code or just use pre-written scripts that plug into your pages. JavaScript tutorials, how-tos, sample scripts, and more from the About.com Guide to JavaScript, Stephen Chapman.

Script Libraries
There are a number of sites that have a selection of pre-built Javascripts available for you to copy and use on your site. Some are better than others. These reviews will help you to work out which libraries are worth using.

Other Javascript Libraries
There are a number of Javascript libraries on the web where you can go to obtain scripts written by others.

Guide's Date and Time Scripts
Add date/time or timer processing to your page with these pre-built scripts

Javascript function libraries
Javascript function libraries save you having to recreate basic functionality.

An introduction to using functions with JavaScript
An introduction to using functions with JavaScript.

JavaScript Decision Making
For those who are completely new to JavaScript rather than just trying to upgrade their JavaScript to use more modern coding methods, this series of tutorials will serve to introduce the concepts of boolean variables, logic, and the if and switch statements that allow JavaScript to make decisions.

JavaScript Books in Review
Whether you are a beginner to programming or an experienced programmer who is just new to JavaScript there is a book or three to help you learn (if you prefer something printed to online learning through this site). There are also some useful reference books.

JavaScript Variables and Operators
For those who are completely new to JavaScript rather than just trying to upgrade their JavaScript to use more modern coding methods, this series of tutorials will serve to introduce the concepts of variables and operators.

cookies
The only way to keep information relating to a site without passing it from page to page to page is to use a cookie. A cookie is also the only way to keep information between browser sessions.

Error Handling
We don't need to allow JavaScript to crash when it finds an error, we can catch the error and handle it within our code. We can also create our own errors with more meaningful messages than the ones JavaScript uses.

Using Functions
These examples show you some of the ways that you can use functions in your JavaScript.

object oriented
JavaScript is a prototyping language rather than an object oriented one. It doesn't have classes, just objects and new objects are created from existing ones. While you can write your JavaScript in a standard object oriented way, there are often more effective ways to make use of the prototyping basis of the language.

More Guide Written Scripts
These scripts have been written and thoroughly tested by your guide.

Guide's Function Library
A collection of functions that you can use as a basis for building your own scripts so that you don't have to start from scratch.

Guide's Form Validation Scripts
A collection of functions that you can use to build up the validations that you require for your forms.

Custom Quiz Makers
Test your visitor's knowledge of your subject or just provide them with some fun with your own custom quizes. These quiz makers provide you with the necessary Javascript to handle the quiz processing as well as a form that you can fill out to generate your own unique questions and answers.

Simple but fun games written in Javascript.
Simple but fun games written in Javascript.

Guide's Animation Scripts
Add some movement to your web page with these animations. Some are just for fun while others serve a more useful purpose.

Put a calculator on your web page.
Put a calculator on your web page.

Source Protection
You can't do anything to protect your source code and images from anyone who knows how to bypass all of the

Drop Down and Combo Box Navigation
A series of tutorials on different ways you can set up drop down selection lists and combo boxes for your site navigation.

User Scripts
Something even better than bookmarklets for being able to run your own Javascripts against other people's web pages. Greasemonkey is a Firefox add-on which allows you to automatically run user Javascripts on any or all web pages, Turnabout is an IE plugin to do the same and Opera has the functionality built-in.

Learn AJAX
This series of tutorials will introduce you to AJAX by taking you step by step through the code of a simple example.

Menus
Make the navigation links on your page less obtrusive by using a menu.

Guide's Navigation Menu Scripts
Add a dynamic menu to your web page using Javascript.

Page Selection
These scripts will help you with displaying different pages to your visitors based on their browser setup or actions that they take.

Popup Window Tutorials
This series of tutorials takes you step by step thrugh thedifferent ways that you can create and modify popup windows.

Browser Object Model
This is the part of JavaScript that does not have any standards - the part that interacts with your visitor's web browser. Here we look at things that do work across the various browsers and also at how to produce code that allows for the differences.

Document Object Model
This is the part of JavaScript that allows the script to actually interact with the content of the web page itself. It works by mapping the tags and text within the page to nodes and nodelists accessible within the JavaScript.

Events
Much of the JavaScript in our web page will be run in response to events.

functions
These functions are built into JavaScript to make it easier (and in some cases possible) to perform those tasks.

objects
These built-in objects will form the basis for most of the objects you create.

Create Custom Scripts
Use these script makers to generate your own customized scripts without having to code them yourself.

Javascript Script Library
A collection of prebuilt JavaScripts that you can use on your own pages.You can also use them to learn how to do new things in JavaScript.

Browser Object Model
The Browser Object Model is what allows JavaScript code to interact with the web browser, and it is the one part of JavaScript for which no formal standards exist. These resources will help you understand and manipulate the Browser Object Module.

Cookies
Cookies help you to keep track of things between visits to a page.

Events
Answers to frequently asked questions on how you can use events in Javascript.

Functions
These small functions perform tasks that you may find useful.

Google Map
The Google Maps service provides an easy way to add maps into your web page. The actual content of the map is defined by calling JavaScript functions within the main map script passing the values that define how you want the specific map to look. In this series of tutorials we will look at how to code the JavaScript to customise your map.

Learn JavaScript
Beginners can learn JavaScript programming step by step through these tutorials.

Learn Modern JavaScript
This new series of JavaScript tutorials introduces JavaScript coding using modern unobtrusive techniques.

Multimedia
Use Javascript to add sound, animation, video, and other multimedia to your web pages.

Object Oriented JavaScript
Learn why you should consider using object oriented coding for your JavaScript and also how to apply it.

JavaScript Navigation
Create interactive site navigation using JavaScript.

Internet Explorer Specific
There are some differences in the way you need to write your JavaScript in order to cater for Internet Explorer.

JavaScript By Example
This series of tutorials doesn't just tell you how to write JavaScript, it shows you how to do it.

Javascript Reviews
Reviews of Javascript Books and other Javascript related products. Which ones are worth buying and which ones you should avoid.

Asynchronous Javascript and XML
Asynchronous Javascript and XML (AJAX for short) is the method that you use when you want your web page to be able to retrieve new information from the web server without having to download a whole new page.

Animation Tutorials
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.

Complete Form Field Validation Scripts
These functions perform all of the necessary validations for some common text field types. Simply call the function and it will let you know if the field is valid or if you need to display an error message.

Document Object Model
The Document Object Model provides an way for Javascript to access the current web page in order to modify what the page contains or how the page looks.

Frames
Answers to frequently asked questions on how to use Javascript with frames.

Text Field and Text Area Validations
A selection of different validation routines that you can put together to validate the text fields and text areas that you have in your forms.

Window Manipulation Javascripts
Popup windows, thumbnail image popups, resizing browser windows, scrolling the window content, and more. Take control of your visitor's browser with these scripts.

JavaScript Testing
Testing your JavaScript is an essential part of the script creation process. If your script doesn't work the way it is supposed to then it can't serve the purpose for which it was written.

JavaScript - What You Need to Learn and Where to Find It
Want to use JavaScript on your web pages? There are several alternatives.

When to Use GET and When to Use POST in Ajax
When should you use GET and when should you use POST with Ajax.

How to Identify and Fix Common Javascript Errors
Mind you brackets and avoid this common javascript error.

Common Javascript Errors 2
Punctuation can cause a lot of problems in javascript. Keep these rules in mind to write good script. Page 2.

Common Javascript Errors 3
Remember that javascript is case sensitive and avoid this common error. Page 3.

Common Javascript Errors 4
Trying to reference objects before they're loaded? Fix your script and do this instead. Page 4.

Common Javascript Errors 5
Missing a parameter on function call or have an unsupported document object model? Here's how to deal with these common javascript errors. Page 5.

Moving JavaScript out of the Web Page - Moving Event Handlers
How to separate the JavaScript in your web page from the HTML and put it in its own file. Page 3.

How to Separate the JavaScript in Your Web Page
When you first write a new JavaScript the easiest way to set it up is to embed the JavaScript code directly into the web page.

Moving JavaScript out of the Web Page - Moving Script Content
Need to move your javascript into its own file? Here's how to separate it from the webpage. Page 2.

Moving JavaScript out of the Web Page - Event Listeners
Moving your javascript to its own file? Find out how to replace your event handlers with event listeners to solve this common javascript problem. Page 4.

Moving JavaScript out of the Web Page - Capture and Bubble
Use capture and bubble to control the order your code is run. Page 5.

Javascript has no access to the printer
Wondering why Javascript can't print directly to the printer? Here are a few reasons why browsers restrict access. Page 3.

Avoid the Print Dialog
Frustrated that Javascript can't print directly to the printer? Here are a few reasons why the print dialog box is necessary. Page 2.

JavaScript By Example - BOM and DOM
Use these JavaScript examples to help you learn browser object and document object models. Page 2.

Unobtrusive Collapsible Menu HTML
Need a menu for your website? Use this collapsible menu script and save space.

Limiting Textarea Text Script
Need to limit the number of characters entered into a text area field? Use this simple script.

Cross Browser Ticker/Marquee Script RtoL
Need a simple ticker or marquee for your website? Use this easy script.

[R] Analysis Quiz[R]
Use this quiz-maker script to write an analysis quiz with valued answers for your website.

Mouseover Script
Need a great mouseover script? Check out this tutorial for a simple script generator.

Quiz Maker 1 Body Script
Use this quiz maker script to create multiple-choice questions for your website.

Concentration Memory Game Sample
Want people to spend time on your site? Add this game of concentration and challenge your readers' memory.

Distance Calculator
Spruce up your travel site by adding this distance calculator. Readers will be able to calculate the distance between two cities.

Google Maps - Latitude and Longitude
Find out how to identify location using latitude and longitude on Google maps to display relevant information on your webpage.

Event Calendar
Use this simple script to display an event calendar on your website. Events will display when the date is selected.

Countdown Timer Script
Learn how to add this simple countdown script to your website.

Multiple Requests
Can you handle multiple requests with AJAX? Find out how with this tutorial.

[R] Open an AJAX Request[R]
Find out how to initialize your newly created AJAX object.

Print Directly to Printer With JavaScript Not Possible
An explanation of some of the reasons why Javascript can't print a page without the print dialog popping up.

JavaScript By Example - More DOM, Cookies and Error Handling
A series of example JavaScript that shows you how to write JavaScript. Page 3.

JavaScript Basics: Objects, Functions, Events Examples
A series of example JavaScript that shows you how to write JavaScript.

JavaScript By Example - Functions and Objects
A series of example JavaScript that shows you how to write JavaScript. Page 4.

Javascript Books
Some Javascript books that will help take you from beginner through advanced.

HTML Collapsible Div Menus
HTML collapsible div menus save space on the web page. The content heavy page becomes “decluttered” which improves its aesthetic and functionality.

Use responseText and responseXML server responses in AJAX
Using responseText and responseXML determines if the server responses in AJAX are in XML or plain text. The field in which the response is returned depends upon what format is being used.

Use innerHTML to Access the Entire HTML Container at Once
The innerHTML property is a convenient way to access the entire content of the HTML container. It can be used to either retrieve from or insert content into a container.

- By Category
An index of categories in the

Use This Piano Chord Calculator To Play Keyboard Chords
This piano chord calculator displays the notes and fingering positions to help you to play almost any chord on any keyboard.

Modal Dialog Box
A cross browser solution to being ablwe to display a modal dialog box with the content of your choice.

First Time Only
Perform processing only when your visitor first visits the page.

Continuous Image Vertical Scroller
This script allows you to display one or more vertical scrollers containing images that will scroll continuously without a break except when the mouse is moved over them.

Continuous Text Vertical Scroller With Start/Stop Button
This script allows you to display one or more vertical scrollers containing text that will scroll continuously without a break except when the mouse is moved over them or the stop button is pressed.

Typewriter Text Script
Create a web page that looks like it is being typed on a typewriter.

Quiz Script Generator
Create your own multiple question quizes with this quiz maker script.

Multiple Choice Quiz Script Sample
This example quiz was built with the multiple choice quiz generator.

Personality Quiz Script Generator
Create your own multiple question personality quizes with this quiz maker script.

http://javascript.about.com/library/bl3drop.htm


http://javascript.about.com/library/bldydrop1.htm


Validate on Submit
How to validate all of the fields on your form immediately prior to the form being submitted.

[R] document.write[R]
How the Javascript document.write method works.

Cross Browser Ticker/Marquee Example
Add a simple ticker/marquee to your page with this simple Javascript

Target Window or Frame
What are the Javascript equivalents to the target attribute on links?

[R] Final Javascript Quiz[R]
Test your knowledge of Javascript with this 50 question quiz.

Limiting Textarea Text Example
Restricting how much text can be entered into a textarea.

[R] Drop Down Lists[R]
Introduction to drop down navigation.

Multiple Personality Quiz
Create your own multiple question personality quizes with this quiz maker script.

Follow the Mouse Sample
A simple script to get an object to follow the mouse.

Sample Hangman
Create your own hangman game with this script maker.

Blog


How Hard Is JavaScript to Learn? HTML Comparison
How difficult something is to learn depends on what you already know and how similar the new thing is to what you know.

How Hard is JavaScript To Learn (2)?
How difficult something is to learn depends on what you already know and how similar the new thing is to what you know. Page 2.

Ajax: Why Asynchronous Is Almost Always Better
When should you use asynchronous Ajax calls and when should you use synchronous.

Write A Session Cookie - JavaScript By Example
Web browsers distinguish between three different types of cookies. These types are session cookies, first party cookies, and third party cookies.

Javascript and JScript : What's the Difference?
JavaScript and JScript, different languages for different browsers.

JavaScript Execution Order Code and Guide
What order does JavaScript run its code in?

Why You Should Use JavaScript on Your Site
How should you use JavaScript so that it enhances your site.

JavaScript and Emails - Expert Guide
Why not to use JavaScript with emails? Well there are some good reasons why JavaScript and Emails don't go together.

$ and _ in JavaScript - Treatment of These Symbols
The $ and _ characters are treated differently in JavaScript to the way you might expect. JavaScript considers them to be letters in some circumstances rather than special characters.

JavaScript Nesting if Statements
You can nest one IF statement inside another using JavaScript.

JavaScript By Example - Ternary Operator
The ternary operator provides a shorter way of writing some JavaScript if statements as this example demonstrates.

JavaScript By Example - DOM: Get Child Nodes
The property allowing us to access the nodes contained within the current node is actually a nodelist since a node can of course contain more than one node.

JavaScript By Example - DOM: Get Parent Node
Node properties don't just include pointers to the immediately adjacent sibling nodes, there is also a pointer to the parent node (the tag within which the current element or text is contained).

JavaScript By Example - Using Callback Functions
JavaScript allows you to pass a function to another function as a parameter and then call back to that function from within the function you pass it to.

JavaScript by Example - Object Oriented Passing Objects
The normal way of passing objects around within JavaScript simply means passing a reference to the object and so any changes made to the passed object will be reflected in the original object as well.

JavaScript - Same Function, Different Variables
A function is more versatile than just running the same code each time because you can substitute different values into rach run as well.

JavaScript by Example - Walk the DOM Node by Node
By combining nextSibling and childNodes we can set up code that steps through all the nodes in the web page.

JavaScript Detection of Browser Window Size, Position
Depending on the browser type, screen resolution and other settings, the size of a browser window may vary considerably. The solution? A collection of JavaScript functions that return information about the size and position of the browser window. This article explains how they work.

JavaScript Function Example: Returning an Object
Br having your function return an object you can pass back as much information as you like by giving the object multiple properties.

JavaScript By Example - DOM Table: Tbodies and Rows
When it comes to processing tbody and tr elements the table properties that reference them are faster in almost all browsers than using getElementsByTagName.

The Scope of Variables
JavaScript variables have a different scope from what you would expect from other programming languages.

Switch Fallthrough
Allowing code to fall through within a switch statement can cause issues in trying to maintain your code and can easily be avoided.

JavaScript By Example - DOM: Add A Child Node
One way to add new nodes to a web page is to specify the parent node you want to attach it to. It will then be added after all the other child nodes belonging to that parent.

JavaScript By Example - Object Oriented: Call and Apply
When we use

JavaScript and HTML 5 - Regular Expressions
One of the proposed additions to HTML 5 will make validating form fields in the browser slightly easier.

JavaScript By Example - DOM: Get Next Node
Nodes at the same level in the hierarchy of your page are called siblings. The nextSibling property of a node provides a pointer to the next node at the same level.

JavaScript by Example - Updating Cookies
The difference between replacing and updating a cookie is that in updating a cookie we first need to read the current value stored there.

Using Functions in JavaScript: Anonymous Function
An anonymous function is one that you don't give a name when you define it. If you assign an anonymous function to a variable you have better control over the scope of the function than if you name it in the definition itself.

Reasons to Avoid Noscript and Use JavaScript Instead
The noscript tag is long past its use by date. Using JavaScript and the DOM gives much better control.

JavaScript By Example - Switch
This example shows how to use a JavaScript switch statement to provide more than two alternative paths.

JavaScript Books For Beginners
Which JavaScript books are most suitable for beginners? Compare these reviews of some JavaScript books that are aimed at those who haven't programmed before.

JavaScript Security, Frames and Multiple Domains
For security reasons Javascripts can't communicate between frames loaded from different domains.

Javascript Kit
Review of Javascript Kit. Focus on JavaScript.

JavaScript Link
Some ways of attaching JavaScript into your web page are better than others. Here we consider the alternative ways that you can attach JavaScript events to your page content.

Javascript Glossary - hasOwnProperty
JavaScript Glossary definition for: hasOwnProperty

JavaScript By Example - DOM: Remove A Node
In the prior examples we looked at how to update the properties of a node. We now get to the first of the examples on how to update the node itself, starting with how to delete a node from the web page.

Object-Oriented JavaScript Examples
For two objects to be equal, it isn't enough for their content to be the same, they must be aliases for the same object.

JavaScript By Example - Functions: setInterval
This function looks the same as setTimeout but instead of running the function once, it runs it over and over with the specified interval in between.

What Javascript Cannot Do
There are a few things that the JavaScript programming language does not let you do

Meaning of Interpreted or Compiled in JavaScript
JavaScript runs as an interpreted language in the web browser. This impacts on how you need to write your code in ways you wouldn't need to worry about if it were compiled.

JavaScript by Example: Using Self Invoking Functions
We don't need to name a function at all when we have it run itself immediately after it it defined. This allows us to change the scope of the variables that the function contains.

Interpreted or Compiled - Affect on JavaScript
JavaScript runs as an interpreted language in the web browser. This impacts on how you need to write your code in ways you wouldn't need to worry about if it were compiled. Page 2.

JavaScript Calculator Script Tutorial
A series of tutorials explaining one way to use Javascript to create a calculator.

++i and i++
For those new to programming the difference between ++i and i++ is not obvious. Here's a simple example to explain the difference.

href="#" | Learn the Purpose of This Invalid Code
A # by itself in the href attribute is not valid. Sites teaching you how to write HTML and JavaScript use it as a placeholder that should be replaced in live code with a real destination.

Getting Rid of document.write in JavaScript
The document.write statement was an essential part of early JavaScripts but is now completely unnecessary as anything that can be done with document.write can be done better using innerHTML.

setTimeout - Examples of JavaScript
This function allows you to specify a delay before running a function.

Cookies: Domain Level Cookies - JavaScript by Example
Specifying a domain allows a cookie to be shared with all the sub-domains of that domain.

JavaScript - Basic Code Debugging Tools
The JavaScript language itself provides very few debugging tools. One of the few that it does provide and perhaps the most useful is alert().

JavaScript By Example - Object Oriented: Parasitic Inheritance
We don't need a special constructor function to be able to create an object, an ordinary function can be used instead provided we return the created object.

JavaScript By Example - Object Oriented: hasOwnProperty
This method allows us to test whether a given property is defined by the current object or is sharing the one defined in the prototype.

JavaScript By Example - Object Oriented: Singleton Objects
Since JavaScript doesn't use classes we need to define singletons a little differently from other languages. Let's look at it as when creating multiple objects from the same base object actually just create aliases for a single object instead.

JavaScript By Example - Object Oriented: Getters and Setters
Setting up these methods allows you to make properties private to an object and better control the access to that property.

JavaScript By Example - Cookies: Replacing A Cookie
You can replace a cookie simply by writing another cookie with the same name.

JavaScript By Example - Error Handling: Catching Specific Errors
While a catch block catches all errors we can set it up just to process specific errors by testing whether the error is an instanceof a specific error object. Any errors we don't want to process can be thrown to JavaScript.

JavaScript By Example - DOM Form: Accessing Radio Buttons
One type form field you can't always access using the id are radio buttons. To access all of the associated radio buttons you need to reference them by name.

JavaScript By Example - DOM Form: Creating Labelled Input Fields
Generally input fields need to be labelled so our visitor knows what we expect them to enter into each.

JavaScript By Example - DOM Table: Adding A Column
The code to add a column is similar to that needed to add a row.

JavaScript By Example - DOM Table: Deleting A Column
To delete a column we need to delete the specific cells in that column.

JavaScript By Example - DOM: innerHTML
While not a part of the official standards this property works in all modern browsers to provide an easy way to replace the content of a tag without updating the DOM.

JavaScript By Example - DOM: Replace A Node
If we want to replace a node we don't need to add the new node and then delete the old or delete the old and then add the new. We can replace one node with another in a single call.

JavaScript By Example - BOM: Current Scroll Position
Most web pages are bigger than the viewport. The scroll position of the page lets you know where the visible part of the web page starts.

JavaScript By Example - DOM: Get Previous Node
Just as the nextSibling property points to the next node at the same level, the previousSibling property points back the other way.

JavaScript By Example - Events: Cancel Bubble
Events bubble outward and can trigger the running of functions attached to that event on any of the ancestor elements of the one where the event was triggered unless one of the functions tells it to stop.

JavaScript By Example - Events: Prevent Default
Where an element has a default action that it performs that is not dependent on JavaScript we may need to disable that default when JavaScript is enabled.

JavaScript By Example - Objects - Boolean
A Boolean object is as simple as you can get in a usable object as it only allows for two values - true and false.

JavaScript By Example - Functions: encodeURI and decodeURI
These functions 'escape' those characters that could lead to content being misinterpreted and help keep it separate from the surrounding content.

JavaScript By Example - Do While Loop
A do-while loop will run the code inside the loop at least once since it performs the test for whether to exit the loop at the end of the loop instead of at the start.

JavaScript Form Processing - A Modern Approach
Changes to both JavaScript and HTML have affected the way we should be using JavaScript to validate our forms and will affect it further in the future.

Black Box or White Box Testing
There are two different approaches to testing your code - they are called black box testing and white box testing. Here we look at how these two approaches work and how to apply it to JavaScript.

Unobtrusive JavaScript - Hello World - Attaching the Script
Let's start looking at how to write modern unobtrusive JavaScript by looking at how to write an unobtrusive Hello World script

JavaScript Cycling Banner Effect
Cycle through a number of images one after the other using JavaScript.

Concentration Memory Game with Images JavaScript
Put a game of concentration on your site and test your visitor's memory with this JavaScript.

JavaScript Combining Case Clauses Together
Where we want to run the same processing for multiple values in a switch/case statement we can combine the cases together.

Where to put user scripts in Opera
Opera supports user javascripts directly. You just need to tell it where you've put them.

What Does JavaScript Look Like?
Once advantage to JavaScript is that it is actually downloaded to the local computer before it is interpreted by the browser. This means you can view the source to see the JavaScript. You just need to be able to tell what parts of the page content are JavaScript and what are HTML and CSS.

JavaScript Testing Tools
A selection of advanced testing tools for JavaScript

A Brief History of Javascript
What is Javascript, who created it, and who controls the standards?

The Purpose of Functions in JavaScript
What is a function and why should we use them in JavaScript

Why Return A Value
Many web pages describe how to return a value from a function in JavaScript. This page explains why you should want to do so for most of your functions.

Variables, Functions, Properties and Methods
While these four terms have distinct meanings in some languages, things are not as clear cut in JavaScript.

The JavaScript Modulo Bug
The modulo operator in JavaScript does not return the correct value for negative numbers.

Single Radio Buttons and JavaScript Validation
How to handle single radio buttons and unselecting radio buttons with javaScript.

Null and Undefined
Both null and undefined in JavaScript do not always behave as you might expect them to.

HTML and the DOM
You need to understand how the Document Object Model relates to your HTML source if you expect JavaScript to update the web page correctly.

JavaScript Library or Code Yourself
Should you use a JavaScript library or write all the code yourself. Both ways have advantages and disadvantages.

Tools for Making JavaScript
What tools do you need to write JavaScript?

What is Testing?
There is only one way to find out if a script you have written will work properly. You test the script to see if it produces the expected results for a variety of alternative situations.

JavaScript By Example - First JavaScript
The first in a series of examples in how to use JavaScript. This example shows the best way to attach your JavaScript into your web page.

ActiveX and JavaScript do not Mix
ActiveX is not accessible from JavaScript, it only works with JScript

JavaScript Redirect
JavaScript can redirect your visiitors to a different page.

JavaScript Split
In JavaScript strings can be split using the split method belonging to string objects.

The Bad Parts of JavaScript
There are some constructs allowed in JavaScript where you just make things more difficult for yourself if you use them.

Semicolons and JavaScript
With JavaScript allowing you to leave out the semicolons on the end of statements you can end up with what you think is a single statement which JavaScript thinks is two separate statements or vice versa.

JavaScript MIME Type
The correct MIME type to use for JavaScript is not the one almost everyone uses and there is a reason for that.

Floating Point and JavaScript
JavaScript doesn't always give you the exact answer you expect when you start using decimals. Here's Why.

HTML 5 And noscript
HTML 5 proposes changing where the noscript tag can be used so as to reintroduce a use for it.

Two Types of JavaScript
Some JavaScript code just makes your page look a little nicer and more interactive. Other JavaScript provides more essential functionality.

Using Pre-written JavaScript Scripts - Update Existing Files
The actual steps required to use a pre-written JavaScript with your page are not always included with the script. Here is a step by step list of what you need to do in order to be able to use any pre-written JavaScript in your page. You will still need to refer to the instructions with the script for the details though. Page 4.

Using Pre-written JavaScript Scripts - Testing the Script
The actual steps required to use a pre-written JavaScript with your page are not always included with the script. Here is a step by step list of what you need to do in order to be able to use any pre-written JavaScript in your page. You will still need to refer to the instructions with the script for the details though. Page 5.

Using Pre-written JavaScript Scripts - Uploading to Your Site
The actual steps required to use a pre-written JavaScript with your page are not always included with the script. Here is a step by step list of what you need to do in order to be able to use any pre-written JavaScript in your page. You will still need to refer to the instructions with the script for the details though. Page 6.

Using Pre-written JavaScript Scripts - Handling Zip Files
The actual steps required to use a pre-written JavaScript with your page are not always included with the script. Here is a step by step list of what you need to do in order to be able to use any pre-written JavaScript in your page. You will still need to refer to the instructions with the script for the details though. Page 2.

Using Pre-written JavaScript Scripts - Create Files
The actual steps required to use a pre-written JavaScript with your page are not always included with the script. Here is a step by step list of what you need to do in order to be able to use any pre-written JavaScript in your page. You will still need to refer to the instructions with the script for the details though. Page 3.

The JavaScript Debugging Console
All but one of the popular browsers have a built in JavaScript debugger and the one exception can be easily modified to add one. Page 10.

The JavaScript Debugging Console
All but one of the popular browsers have a built in JavaScript debugger and the one exception can be easily modified to add one. Page 9.

The JavaScript Debugging Console
All but one of the popular browsers have a built in JavaScript debugger and the one exception can be easily modified to add one. Page 3.

The JavaScript Debugging Console
All but one of the popular browsers have a built in JavaScript debugger and the one exception can be easily modified to add one. Page 4.

The JavaScript Debugging Console
All but one of the popular browsers have a built in JavaScript debugger and the one exception can be easily modified to add one. Page 5.

Using Pre-written JavaScript Scripts - Web Editor
The actual steps required to use a pre-written JavaScript with your page are not always included with the script. Here is a step by step list of what you need to do in order to be able to use any pre-written JavaScript in your page. You will still need to refer to the instructions with the script for the details though.

JavaScript Tutorials
Learn to write your own JavaScript programs from these tutorials.

JavaScript Fundamentals
Find out what JavaScript is and how to use it. Find out about JavaScript reserved words and built-in objects in the JavaScript reference. Read reviews of JavaScript books to find out which ones are best for you.

Javascript Glossary - Resizeto
JavaScript Glossary definition for: Resizeto

Javascript Glossary - screenX
JavaScript Glossary definition for: screenX

Javascript Glossary - screenY
JavaScript Glossary definition for: screenY

Javascript Glossary - Scrollby
JavaScript Glossary definition for: Scrollby

Javascript Glossary - Scrollto
JavaScript Glossary definition for: Scrollto

Javascript Glossary - ScrollY
JavaScript Glossary definition for: ScrollY

Javascript Glossary - Moveby
JavaScript Glossary definition for: Moveby

Javascript Glossary - location
JavaScript Glossary definition for: location

Javascript Glossary - ClearInterval
JavaScript Glossary definition for: ClearInterval

Javascript Glossary - Instanceof
JavaScript Glossary definition for: Instanceof

Javascript Glossary - Typeof
JavaScript Glossary definition for: Typeof

Javascript Glossary - Parameter
JavaScript Glossary definition for: Parameter

Javascript Glossary - Server
JavaScript Glossary definition for: Server

Javascript Glossary - Byte
JavaScript Glossary definition for: Byte

Javascript Glossary - Class
JavaScript Glossary definition for: Class

Javascript Navigation
Create interactive site navigation using Javascript.

JavaScript Live
A review of the first SitePoint JavaScript Live interactive tutorial course.

http://javascript.about.com/library/blbook.htm


[R] Sample Quiz[R]
[R]

[R] Sample Quiz[R]
[R]

http://javascript.about.com/library/blintratesrc.htm


http://javascript.about.com/library/blsoundx.htm


[R] Pass Calculator[R]
[description goes here]

http://javascript.about.com/library/blnavnew.htm


The Browser Object Model - location
The one part of JavaScript that does not have a standard is the Browser Object Model. Here we look at the location Object.

[R] Multi Page Fill in the Blanks Quiz[R]
[R]

[R] Rollover Gallery Effect[R]
[R]

[R] Ordered Dropdowns[R]
[R]

[R] Follow the Mouse Effect[R]
[R]

http://javascript.about.com/library/blvalid00.htm


[R] Day of Week Image[R]
[R]

[R] Fireworks Effect[R]
Fireworks effect script

[R] Loan Repayment Calculator[R]
[R]

[R] Calculator Tutorial[R]
[R]

[R] Slide Show Effect[R]
[R]

[R] Cycling Banner Effect[R]
[R]

[R] Cross Browser Ticker/Marquee[R]
[R]

[R] object functions[R]
[R]

[R] Amending Quizes[R]
[R]

[R] Browser Window References[R]
[R]

[R] Concentration Memory Game[R]
[R]

[R] Concentration Memory Game with Images[R]
[R]

[R] Metric Calculator[R]
[R]

[R] Limiting Textarea Text[R]
[R]

[R] Rollover with Caption Effect[R]
[R]

[R] Time of Day Image[R]
[R]

[R] Spring After the Mouse Effect[R]
[R]

[R] more object functions[R]
[R]

http://javascript.about.com/library/blvalueof.htm


[R] Loan Amount Calculator[R]
[R]

http://javascript.about.com/library/blworst.htm


[R] Cycling Ad Banner Effect[R]
[R]

[R] Interest Rate Converter[R]
[R]

[R] Password Protection[R]
[R]

[R] Current Page References[R]
[R]

[R] Watermarking Images[R]
[R]

[R] Fill in the Blanks Quiz[R]
[R]

Frames
Answers to frequently asked questions on how to use Javascript with frames.

Script Library
javascript library prewritten scripts