PDA

View Full Version : simulate pressing keyboard key


koblitz
09-04-2002, 08:38 PM
I know the input type file is read only. I want to work around this somehow. Is there anyway to simulate pressing a keyboard key?

ie can I set focus to the input file text box and the simulate pressing c, :, \.

Any work arounds or suggestions is very appreciated.

thanks
Dave

joh6nn
09-05-2002, 12:12 AM
there are no workarounds. it's just one of the things you have to deal with. sorry.

jkd
09-05-2002, 01:05 AM
Using DOM2 Mutation Events (or was it Gecko's proprietary DOM KeyEvents? can't remember....) you can progmatically "type" into a textarea.