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

Feedback on: irt.org FAQ Knowledge Base Q848, June 11, 2002 at 06:47:51:

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

Feedback on:
irt.org FAQ Knowledge Base Q848

Sent by
Miha Novak on June 11, 2002 at 06:47:51:

Very worth reading

Just right

Just right

If you want to capture events also in for example combo box you can do it in this manner!

<script language="Javascript">
function NS(e)
if (e.which == 13) {
window.alert("You have pressed return");}

function Author() {
window.alert("This script was contributed to the WWW by Miha Novak, Slovenia");

window.onkeypress = NS;
<form name="test">
<select name="selection" onkeypress="Javascript:NS(event);">
<option>first option</option>
<option>second option</option>
<option>third option</option>

<input type="button" value="press" name="butt" onClick="Author()">
<input type="text" name="tfield" SIZE="20">


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

©2018 Martin Webb