Open dandv opened 9 years ago
JSBin
<!doctype html> <html lang="en-US"> <head> <script src="https://rawgit.com/keithamus/jwerty/master/jwerty.js"></script> </head> <body> <form id="myform"> <input type="text"> <textarea> aa bb </textarea> </form> <script> jwerty.fire('a', 'input', '#myForm'); jwerty.fire('ctrl+a', 'textarea'); </script> </body> </html>
After loading the page, I don't see an a in the input, or the textarea contents selected.
a
textarea
Does fire only trigger bound events? If so, that should be mentioned in the docs.
fire
JSBin
After loading the page, I don't see an
a
in the input, or thetextarea
contents selected.Does
fire
only trigger bound events? If so, that should be mentioned in the docs.