Solved

how to insert a tab into an html input field

Posted on 2009-07-12
4
434 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
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…
Suggested Courses

736 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