How to enable tabbing in textbox
-
I have a textbox(textarea) in which one can write source code in any programming languages, but the problem is that when TAb key pressed instead of giving blank space it gets out from the textbox and move to next element.... So my requirement is that when TAB key is pressed it will give blank space. Thanks in advance,Any help will be appreciated...!!!
-
I have a textbox(textarea) in which one can write source code in any programming languages, but the problem is that when TAb key pressed instead of giving blank space it gets out from the textbox and move to next element.... So my requirement is that when TAB key is pressed it will give blank space. Thanks in advance,Any help will be appreciated...!!!
You should use onkeydown event of textarea to handle tabs. Refer this link[^] for JavaScript & this link[^] for JQuery.
Just shift & delete(Remember no backups), then you'll enjoy. ___________________________________________________ A little help through the tips and Articles 1. Application Login through Active Directory (LDAP) 2. Table Valued Parameters
-
You should use onkeydown event of textarea to handle tabs. Refer this link[^] for JavaScript & this link[^] for JQuery.
Just shift & delete(Remember no backups), then you'll enjoy. ___________________________________________________ A little help through the tips and Articles 1. Application Login through Active Directory (LDAP) 2. Table Valued Parameters
Thanks _Amy :)