|
Posted by Jonathan N. Little on 12/31/70 11:33
Smugsboy wrote:
> Jonhathan,
Hi Smugsboy,
Firstly if you peruse the newsgroup you will notice that TOP POSTING is
frowned upon, write responses below quoted material.
> What do you mean by "checkered support" ?
onkeyup should be supported in modern browsers, was an issue in the past.
> If I use the onkeyup, will it respond for every char input (even if I
> press a long keystroke which translates to several input characters) ?
Every time the key is released the event fires,
'long keystroke' ?? Do you mean where you hold the key down and the
'type-o-matic' repeat on character occurs? Again it fires when the key
go up.
Demo may help explain:
<html>
<head>
<title>TestBed</title>
<script type="text/javascript">
function test(ff){
var f=ff.form;
f.myout.value=ff.value;
}
</script>
</head>
<body>
<form>
in <input type="text" size="30" name="myin" onkeyup="test(this)"><br>
out <input type="text" size="30" name="myout"><br>
</form>
</body>
</html>
> Are the event the same in IE/FF?
<snip>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|