Jonathan Chetwynd:
> String.fromCharCode( e ) seems broken, any workaround?

I don’t think String.fromCharCode() is broken.

> batik supports e.keyCode, but how does one get the 'string' value  
> back from the number value?

Is ‘e’ an event object here?  If so, then ‘String.fromCharCode(e)’ will
probably return a string with a single '\0' character in it (because ‘e’
stringifies to some string like
"[EMAIL PROTECTED]".

I guess you mean to use ‘String.fromCharCode(e.charCode)’, if you want
to get a string that consists of a character corresponding to the key
pressed.

-- 
Cameron McCormack, http://mcc.id.au/
        xmpp:[EMAIL PROTECTED]  ▪  ICQ 26955922  ▪  MSN [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to