Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] [OT] Looking for Javascript 3-toggle button



On Mon, 15 Feb 2010 00:17:30 +0900, Dave M G <dave@example.com> wrote:

> Godwin,
> > Lose the parentheses around the declaration of the buttonClicked
> > function. Why are they there in the first place?
> 
> I get a syntax error without them. (Using the Netbeans IDE).

If something like this gives you an error then you have a problem elsewhere:

function buttonClicked(id) {
  ...
  ...
  ...
}

Also note that netbeans is for creating Java applets, and Java most
emphatically != Java**Script**, which is what you were asking for.

-- 
G. Stewart - gstewart@example.com

guru, n:
        A computer owner who can read the manual.

Attachment: pgpXcLE3VQzZv.pgp
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links