j-ulrich / jquery-simulate-ext

jQuery simulate extended
https://j-ulrich.github.io/jquery-simulate-ext/
Other
146 stars 48 forks source link

Key-combo ctrl+a not working #30

Closed dianaprajescu closed 9 years ago

dianaprajescu commented 9 years ago

I'm not sure if ctrl+a is supposed to work, but I think it's a pretty common key combination. here is a jsfiddle for you to test: http://jsfiddle.net/Psjhf/723/

j-ulrich commented 9 years ago

Yeah. The plugin cannot trigger default behavior of browsers (like ctrl+a, ctrl+c, ctrl+v etc.) and I'd say it is out of scope to simulate that behavior, especially because the shortcuts could be different depending on browser, operating system and/or user preferences.

Nevertheless, it is possible to simulate a "select all" using the {selectall} special sequence of the key-sequence plugin.