Skip to content
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.

Firing actually doesn't do anything in latest Chrome? #57

Open
dandv opened this issue Nov 28, 2014 · 0 comments
Open

Firing actually doesn't do anything in latest Chrome? #57

dandv opened this issue Nov 28, 2014 · 0 comments

Comments

@dandv
Copy link

dandv commented Nov 28, 2014

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.

Does fire only trigger bound events? If so, that should be mentioned in the docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant