Here's the current code that I'm working with:
<select tabindex="2" id="resolvedformsel" name="resolved">
<option selected="selected" value="yes">resolved</option>
<option value="no">not resolved</option>
<option value="mu">not a support question</option>
</select>
<input type="submit" value="Change" id="resolvedformsub" name="submit">
I'm looking to add a key combination (such as Ctrl+Alt+1) to automatically select "resolved" and submit the form. This will be really helpful in our support forum for quickly marking threads as resolved.
I want a solution using pure JavaScript, no jQuery involved. Any suggestions on how to achieve this?
In simpler terms: How can I replicate jQuery's keypress/keydown functionality in vanilla JS?