Eoin Miller
4/7/2004 9:19:00 PM
Put it anywhere between the <body> and </body> tags on the page.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Anthony" <sodeju2000@hotmail.com> wrote in message
news:c51jo7$e0s$1@news3.tilbu1.nb.home.nl...
> Thanks Kevin so far, but can you tell me where on my
> page i put this 'code' please.
> I tried lots of things but negative results, Don't i have to
> put tags somewhere ?
> Thnx Again.
>
>
> "Kevin Spencer" <kevin@takempis.com> wrote in message
> news:ewe3MswGEHA.3816@TK2MSFTNGP10.phx.gbl...
> > function captureKey(e) {
> > var k = document.all? window.event.keyCode:e.which;
> > return k != 13;
> > }
> > document.onkeypress = captureKey;
> > if (document.layers) document.captureEvents(Event.KEYPRESS);
> >
> > --
> > HTH,
> > Kevin Spencer
> > .Net Developer
> > Microsoft MVP
> > Big things are made up
> > of lots of little things.
> >
> > "Anthony" <sodeju2000@hotmail.com> wrote in message
> > news:c4r3pm$hbm$1@news2.tilbu1.nb.home.nl...
> > > Hello again everybody,
> > >
> > > Since i know the experts on frontpage reside here, i feld free to post
> > > another question.
> > > Here it is, How do i disable the "Enter" on a page were people fill in
a
> > > form.
> > > Lots of people try to 'jump' to the next field in my form by using the
> > > 'enter' key.
> > > Problem is that this key is behaving the same as the 'Submit' button
> > > I can not use validation on all textfields cause some of them can be
> left
> > > empty
> > > by visitors.
> > > Any help will be very much appreciated (again)
> > >
> > >
> >
> >
>
>