JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript

Ajax

Ajax is a short name given to the way in which JavaScript can communicate with the server. By using Ajax you can update the web page with information from the server without needing to reload the page.

Working With Ajax

JavaScript Spotlight10

Stephen's JavaScript Blog

Dot Notation and "this"

Monday July 13, 2009
Some words have special meanings when used with objects - :this" is one of them.

In the seventh tutorial on Object Oriented JavaScript we look at how you can use "this" within your object constructor to reference the object being constructed.

Dot Notation and "this"

getElementsByTagName

Sunday July 12, 2009
JavaScript can access collections of any HTML tag within the web page.

Now that we have considered some older but still useful methods of accessing and updating information in a web page from JavaScript (as well as the most common way of using the DOM to reference a specific tag), it is time to look at more of the standard DOM ways of doing so. In the seventh DOM tutorial we look at the most powerful of these which can provide access to all of the tags on the web page (or all of a given type) all in the one array.

getElementsByTagName

Buy Now Hover Button

Saturday July 11, 2009
You don't have to pay for JavaScript code, there is always a free version around somewhere

One script that seems to be a popular item for internet marketers to try to sell to other internet marketers is one that will create a hovering "Buy Now" box that stays visible on the screen while the person reads their compelling content that convinces them that they need to buy whatever is being sold. When they decide to buy the button to do so is right there. Well my script here doesn't have quite as many bells and whistles as that script but you can easily modify this script to do everything that theirs can do and more without having to buy anything.

Buy Now Hover Button

valueOf and toString

Friday July 10, 2009
There are two methods that all JavaScript objects have.

Every object that you define in JavaScript has at least two methods available - valueOf() and toString(). These methods will return a variable that contains the value of the object or a string equivalent of the object. In most cases these are exactly the same but there are a few object types where they are not.

valueOf and toString

Discuss

Community Forum

Explore JavaScript

About.com Special Features

JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript

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

All rights reserved.