Hey jQuery lovers, I coded a small plugin to retrieve the caret position and the current selection index of input fields and textareas. Special treatment for such an simple thing is needed because MSIE doesn't support the easy DOM 3.0 methods (yes, this also applies to IE7 *sigh*).
So here's the plugin and a small test case: http://lab.0xab.cd/jquery/fieldselection/ Please note that the plugin is a little rough and not very jQuerish at the moment - mainly because I don't know if this is useful for anyone else. If so, please gimme some feedback. Oh, and there's also a lack of documentation. :) Greets, Alex -- http://www.kwick.de - KWICK! Community _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
