Setting Value for keycode (or which) on Firefox
Posted on 2005-05-08
I've got some code that works in IE which takes the charcter you've typed in an input box and converts it to lower case.
objEvent.keyCode = lngKeyCode + 32;
Works fine in IE, but Firefox returns an error saying "setting a property that only has a getter". Makes sense to me, I can't send a value to my objects keyCode in FF.
Can anyone please tell me how I can convert uppercase text to lowercase on the fly from an input box in FF?