I found that jQuery change event on a textbox doesn't fire until I click outside the textbox.

HTML:

```
<input type="text" id="textbox" />

```

JS:

```
$("#textbox").change(function() {alert("Change detected!");});

```

See [demo on JSFiddle](http://jsfiddle.net/K682b/)

My application requires the event to be fired on every character change in the textbox. I even tried using keyup instead...

```
$("#textbox").keyup(function() {alert("Keyup detected!");});

```

...but it's a known fact that the keyup event isn't fired on right-click-and-paste.

Any workaround? Is having both listeners going to cause any problems?
['https://Stackoverflow.com/questions/17317465', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/979621/']
```
if you write anything in your textbox, the event gets fired.
code as follows :

```

HTML:

```
<input type="text" id="textbox" />

```

JS:

```
<script type="text/javascript">
  $(function () {
      $("#textbox").bind('input', function() {
      alert("letter entered");
      });
   });
</script>

```
Try the below Code:

```
$("#textbox").on('change keypress paste', function() {
  console.log("Handler for .keypress() called.");
});

```