How Can I Send “Ctrl” Key With JavaScript Without Any Click On Keyboard?
Javascript February 14th, 2009Well, not sure what you are trying to do but you can create an event object and set its
You can then pass around the event object and set its keycode to something.
ctrlKey property to true.
var evt = document.createEventObject();
evt.ctrlKey = true;
You can then pass around the event object and set its keycode to something.