JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript
photo of Stephen Chapman

Stephen's JavaScript Blog

By Stephen Chapman, About.com Guide to JavaScript since 2004

My Script Doesn't Work

Tuesday January 6, 2009
There are some simple steps to follow if your JavaScript doesn't work.

There are a number of different reasons why a script might not work and so the first thing you need to do in working out why it isn't working is to narrow down what the cause is. The simplest place to start is to work out whether the problem is in the script itself or whether it is being interfered with by something else in the page. Toy can easily determine that by installing the script into a minimal web page that only has the script in it. If it works there and not in your full page then something is interfering.

My Script Doesn't Work

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss

Community Forum

Explore JavaScript

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript

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

All rights reserved.