TOC PREV NEXT INDEX

Put your logo here!


isChar


Returns a boolean indicating whether the event produced a key character or not.

Syntax

bool = event.isChar 

Parameters

boolean true | false

if e.isChar 
  echoInput(e.type); 
} 

Notes

Some key combos may raise events but not produce any character (example: ctrl + alt ?). When this is the case, isChar returns false.

isChar is used when event handlers need to do something like echo the input on the screen.

Specification

Not part of specification. 


mozilla DOM project | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX