domchristie/ios-placeholder — pull request #4 by theinterned (2011-12-15 23:19:23+00:00)
Title: Slight change to how input events are handled

Transitioning from the keyup/down events to the new oninput event.

This allows compatibility with some of the new html5 input types and their non-keyboard based interactions (eg the "number" input type).

By binding to the old keyup/down events and unbinding them inside the oninput handler, we are backwards compatible with browsers that don't fire the oninput event, while cleaning up after ourselves on the first event invocation for those that do.