I am doing the following. It works in a single page, but when I try to run
it in a frameset, it does not. ?????
<Script language="JavaScript">
function checkEnterKey(event){
if (event != null) {
code = event.keyCode
alert(code)
}
}
</script>
<body onkeypress="testme(event)";>
--
David Fetrow
Helixpoint LLC.
http://www.helixpoint.com
"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:%...
> This is an ASP group so it only really deals with server-side coding, not
> client-side events.
>
> But, yes, you can. Key code 13 is enter, iIrc.
>
> Ray at work
>
> "DaveF" <> wrote in message
> news:...
> > Is it possible to capture the enter button and run a javascript
function?
> >
> > --
> >
> >
> > David
> >
> >
>
>