Hi,
When the key press event has occured i want to capture the key pressed, so far I am having problems with this on the select tag.
This works
<Select Name=f1 onclick="ss();" onKeyPress="alert('Hi');">
but this does not...
<Select Name=f1 onclick="ss();" onKeyPress="nowt();">
<script language=javascript>
function nowt()
{
alert('Key pressed');
}
</script>
thanks for your help in advance,
When the key press event has occured i want to capture the key pressed, so far I am having problems with this on the select tag.
This works
<Select Name=f1 onclick="ss();" onKeyPress="alert('Hi');">
but this does not...
<Select Name=f1 onclick="ss();" onKeyPress="nowt();">
<script language=javascript>
function nowt()
{
alert('Key pressed');
}
</script>
thanks for your help in advance,