Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to insert a tab into an html input field

Posted on 2009-07-12
4
Medium Priority
?
440 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
When you put your credit card number into a website for an online transaction, surely you know to look for signs of a secure website such as the padlock icon in the web browser or the green address bar.  This is one way to protect yourself from oth…
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.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

926 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