Thanks, but this does not work in NN4. I'm looking for an NN4 solution. Walter > -----Original Message----- > From: javascript-admin at LaTech.edu > [mailto:javascript-admin at LaTech.edu]On > Behalf Of Trey H > Sent: Sunday, May 05, 2002 5:21 PM > To: javascript at LaTech.edu > Subject: Re: [Javascript] Table Cell Q in NN4 > > > You could put this command in each cell: > <td onClick="clickCheck(1)"></td> > Replace the 1 with a different number for every cell. > The clickCheck function would look similar to this: > function clickCheck(x) { > if(x==1) > alert("cell 1 was clicked!") > if(x==2) > alert("cell 2 was clicked") > } > > I am not sure what you are making this for, so I just used > alerts as an > example for the function :) > > ==================================== > Trey: tutwabee at hotmail.com > Get free JavaScripts at the Blue Dragon! > Just go to: > http://www.websiter.biz > ==================================== > Make money by being online: > http://www.degoo.com/index.php?refid=tutwabee > =================================== > Earn free traffic for your website easily: > http://tools.addme.com/servlet/popview?id=52260 > ==================================== > > > >From: "Walter Torres" <walter at torres.ws> > >Reply-To: javascript at LaTech.edu > >To: <javascript at LaTech.edu> > >Subject: [Javascript] Table Cell Q in NN4 > >Date: Sun, 5 May 2002 16:57:05 -0500 > > > >Anyone have any idea on how I can know that a table cell (in NN4) was > >clicked and which cell it was? > > > >Thanks > > > >Walter > > > >_______________________________________________ > >Javascript mailing list > >Javascript at LaTech.edu > >https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript