I hate when I try to edit html in textarea, because it doesn't recognize tab button, so I cannot indent my code. So is it possible to generate tab support to textareas with html? And is it possible to create support for tab button with JavaScript?
views:
113answers:
2
A:
Try to check the key code in keyUp
or keyDown
events against the tab key code: 11
.
Mendy
2010-03-02 20:47:52