I had a bit of a google around and couldn't find an elegant solution for it so I decided to roll my own using jQuery. This simple jQuery script allow you to add the "onfinishinput" attribute to HTML input fields in the same way you would use normal onclick and onkeyup events.
you can check out a working example here:
Using the Script:
After including the script on your page you can use the new event like this:
<input type="text" onfinishinput="alert('You typed ' + input_field.val())" />
NOTE: instead of using "this" when referring to the element use "input_field" like the example above.
Installing the Script:
The script can be downloaded from here:
The script requires jQuery to function, the latest jQuery can be downloaded from here:
Just include the scripts on your page and you are ready to go.