CSS font stacks, media style sheets & web standards

Your banner ad here

WestNIC provides reliable web hosting services

Site navigation below

This FAQ answers one of over 700 Web development questions submitted by Code Style readers. Sign-up to our premium content service to view the full answer.

Preliminary answer (stub article)

A: In a situation like this the failure of your Javascript could originate at any number of levels. It is very important to see the whole system to understand what is going on, but these basic debugging steps should help.

  1. Is the Javascript code actually loaded into the page?
  2. Is the Javascript code parsed successfully?
  3. Is the event handler actually called?

premium content omitted

Sign up for premium content now, name your price Get full access to this and all other FAQs, sign-up below
The onclick event on my button is not working!

Premium content subscription

You must make a subscription payment to access areas flagged premium content. Set the price you want, please be considerate.

Premium Content subscription

Subscription rate: $

* Subscription rate must be more than zero.
** You do not need a PayPal account to sign-up.



Your security

The PayPal service allows you to pay securely and independently in your own currency. Payments are billed to Metacentric Internet Limited. We never handle your credit card details.

Why pay for premium content?

Direct access to hundreds of answers to common Web development questions with full working examples and links to other Web resources. Your subscription provides full answers to all premium content questions including those listed below, plus:

Javascript FAQ: premium questions

Javascript browser FAQ: premium questions

Javascript "how to" FAQ: premium questions

Document Object Model FAQ: premium questions

Drop-down menus FAQ: premium questions

DOM menu customisation FAQ: premium questions

Add this page to your chosen social bookmarking service

Style warning - please read

Home · CSS · Java · Javascript · HTML · Help · Log