[Project_owners] capturing keypress and handing to default listener

Neil neil at parkwaycc.co.uk
Tue Sep 26 18:17:12 EDT 2006


Eric H. Jung wrote:

>   if (!isNaN(evt.charCode)) { // if user typed a number, select the corresponding tree row
>  
>
Possibly relevant...

readonly attribute unsigned long charCode;

So charCode is always a number...

You were probably thinking of String.fromCharCode(evt.charCode)


More information about the Project_owners mailing list