Call a KeyDown Event
All I need is to be able to click a button and have it do the KeyDown event for Enter, I've tired doing KeyDownCheck(13); and similar things, and I can get into the KeyDown event, but I can't get it to recognize that I want Enter, and it doesn't go to any specific key.
All Enter does is call another function, but when I try to call the function from a button it seems to call a different function which puts me back. Ironically, I had the same problem in the Enter event, but I fixed it with a return false; statement and I don't kno开发者_开发百科w how to do that for a button, so I was just going to call the KeyDown.
Is there a specific way to put this in? Thanks in advance
Notice, that key events are heavily browser specific. It is no fun at all really especially with none alphanumeric keys like 'enter'. See here for a full run-down on all the issues. See here for a test script, that helps you to determine the results your browser gives you.
精彩评论