jQuery.autotype Example 2

In which client code cancels propagation of key events, and autotype respects this.

    $('textarea')
        .keypress(function(){
            return false;  // cancels propagation            
        })
        .autotype("Hello.", {delay: 50});

Text Area

This text area's value never changes since client code returns false from a keypress handler. But the key events still properly occur.'

Event log