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>

Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

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

  1. Home
  2. Computing & Technology
  3. JavaScript

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

All rights reserved.