.bind() (the default behavior), or live events using
.live().
.bind() (the default behavior), or live events using
.live().
| Code to enable plugin: | $('#demo1 :text').selectfocus(); |
| Code to disable plugin: | $('#demo1 :text').noselectfocus(); |
| Code to enable plugin: | $('#demo2 :text').selectfocus({live: true}); |
| Code to disable plugin: | $('#demo2 :text').noselectfocus(); |
.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).
| Textbox value | Event time | Event | Selection |
|---|