The $.fn.sendkeys Plugin

This post is obsolete. Please see the updated post. The phone pad below is messed up in Internet Explorer. I know. I don't care anymore. The plugin, however, works. $('div.test input:button').click(function(){ $('.output').sendkeys($('div.test input:text').val()); }); $('.phonepad input').click(function(){ $('.output').sendkeys(this.name || this.value); }); $('.output:first').bind('keypress', function(evt){ $('#keypress').text($('#keypress').text()+' '+evt.which); }).bind('sendkeys', function(evt){ $('#sendkeys').text($('#sendkeys').text()+' '+evt.which); }); <div> <textarea class="output"></textarea> <br/> <input type="text" […]