tab characters in my textarea
December 3, 2005 6:20 PM
Subscribe
HTML + javascript question. Changing the text-cursor position of a textarea?
Im writting a development tool - real time HTML and CSS editing. im trying to give the textarea the tab key back (insert a tab character rather than switching to the next item in the tab order). So far so good. The tool traps the tab key, inserts the tab character in the appropriate location - but the text cursor is then placed at the end of the text. Really annoying
have a look at it here:
rendar
PS - firefox only :)
posted by Tryptophan-5ht to computers & internet (6 comments total)
posted by zouhair at 6:25 PM on December 3, 2005