You are here: Re: problem fetching value of <input type="text"... « HTML « IT news, forums, messages
Re: problem fetching value of <input type="text"...

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация