Solved

how to insert a tab into an html input field

Posted on 2009-07-12
4
431 Views
Last Modified: 2012-06-27
How do i insert a {TAB} in a textarea?  I am trying to edit a text file using a web based editor and need to type a tab.  Obviously, just pressing tab advances to the next input element and shift tab goes the other direction. other key combos are also used.  

I have lowered myself to cut and paste as a means to put in tabs, but there has to be another, or better way.  

My my specs are: browser firefox, OS Vista 64
0
Comment
Question by:ScottGutman
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:nikhilmenon
ID: 24835540
You should find this page very helpful:

http://www.siteexperts.com/tips/elements/ts34/page1.asp
0
 

Author Comment

by:ScottGutman
ID: 24835548
i am not designing webpages, i want to simple be able to use a tab in an input field.  ie like cut and paste with out all the extra work.
0
 
LVL 7

Expert Comment

by:nikhilmenon
ID: 24838009
Well in that case, you simply can't. It depends on the web-designer of the page you're visiting. Most of them ignore the tab input while some of them do take the trouble to provide for it using javascript. Completely dependent on the website you're visiting. Cut and paste to the rescue!
0
 

Accepted Solution

by:
ScottGutman earned 0 total points
ID: 24894968
In the end I installed AutoHotKey to run a small VBS script using sendskeys to insert the tabs.

Thanks anyway.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now