I would like to have an input element (type=text) or textarea element that validates dynamically by triggering specific keystrokes. This will be used for Chinese pinyin inp
Also, for simple code controlling the "caret" in a cross-browser way this could be useful:
http://javascript.nwbox.com/cursor_position/
a bit late with the answer but I am sure you will still find this old stuff useful.