Solved

how to insert a tab into an html input field

Posted on 2009-07-12
4
435 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
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 nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
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…

734 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