1. Home
  2. Computing & Technology
  3. JavaScript

Date Format

One method that JavaScript lacks is a way of extracting an entire date (and time) from a date field in whatever format you want to use it in. This is easily rectified by adding a method to all our date objects to provide that functionality.

More Date Methods

JavaScript Spotlight10

Stephen's JavaScript Blog

Free JavaScript Download

Thursday December 16, 2010
One advantage of JavaScript is that it doesn't cost anything. If you are paying for JavaScript then you are going about things the wrong way. Not only is JavaScript itself built into the browser but there are sufficient free JavaScripts that people make available for you to download that cover just about every task you can imagine meaning that there are next to no situations where you should ever need to pay for someone to write JavaScript for you.

Free JavaScript Download

appendChild

Wednesday December 15, 2010

JavaScript can easily add new content to an existing web page.

In the tenth Document Object Model tutorial we looked at how to create new elements for our web page but we didn't actually add them to the page. In this eleventh tutorial we look at what needs to be added to that code if we want to add the element into the web page as additional content.

appendChild

Fireworks

Tuesday December 14, 2010
JavaScript can put a fireworks display on your page - no images required. Share any celebrations with visitors to your web site with a fireworks display right on your web page.

Fireworks

Snow on the Web

Monday December 13, 2010
The weather on the web is under your control using JavaScript. snowflake Where I live it is Summer. For those of you in the northern hemisphere it is Winter and for some of you at least that means snow. On the web though no one needs to miss out on seeing snow without all of the inconvenience that it has out in the real world.
snowflake Regardless of where you or your visitors live the Falling Snow script means that you can have a light snow fall on your web page for all to share at any time of the year.

Discuss in my Forum

About.com Special Features

Pick the Perfect Computing Gift

What fun is Christmas without a new toy? We have suggestions at every price point. More

Extras to Make 'em Smile

Five stocking stuffers any computer user would love to wake up to. More

  1. Home
  2. Computing & Technology
  3. JavaScript

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

All rights reserved.