SelectFocus jQuery plugin

This jQuery plugin sets a textbox up to select all its text when it is focused, working around a couple of browser bugs in the process. See the plugin code for more details. The plugin supports regular events using .bind() (the default behavior), or live events using .live().
Click here to browse the plugin source on GitHub.
Click here to download the plugin.

Demo 1 - normal operation using regular events

Code to enable plugin: $('#demo1 :text').selectfocus();
Code to disable plugin: $('#demo1 :text').noselectfocus();

Demo 2 - using live events

Code to enable plugin: $('#demo2 :text').selectfocus({live: true});
Code to disable plugin: $('#demo2 :text').noselectfocus();
Note that the usual limitations of .live() and .die() apply here - the same selector must be used for any calls to .noselectfocus(), and plugin calls should probably appear right after a $('some selector') call (not at the end of a chain of filter functions).

Event log

Textbox value Event time Event Selection