Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: irt.org FAQ Knowledge Base Q1425, January 15, 2003 at 15:22:18:

You are here: irt.org | About | Feedback | 4369 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q1425

Sent by
Joe Page on January 15, 2003 at 15:22:18:

Worth:
Worth reading

Comments:
I had trouble with Mozilla since it seemed to have a little of IE and a little of NS in it.

I was able to get Mozilla to work by passing 'event' to the keyPress() function. In IE you can just reference window.event (as this example shows), Mozilla wouldn't work that way.

Here's what I used;

onkeypress="return keyPress(event)"

[here's the js function it calls]

function keyPress(e) {
if (typeof(e) == "undefined") return true;
else if (typeof(e.keyCode) != "undefined") {
if (e.keyCode == 13) {
return doSearch();
}
}
return true;
}

Sorry this isn't very detailed but I was hoping it could be of use to someone


Other feedback on 'irt.org FAQ Knowledge Base Q1425' - show all

©2018 Martin Webb