How about inserting some code behind the scenes yourself?

For example, when they hit the tab key (you can use javascript to catch the tab 
key), insert the code <span id="tab">&nbsp;&nbsp;&nbsp;&nbsp;</span> and then 
afterwards replacing each span with the tab id with a real tab?

I assume these people are submitting the form to make sure the query works, and 
then if so, they are given the actual code? Just an idea.

Cedric


>Well im looking for an actual tab character.
>
>See im working on a tool im wanting to release to the community, its a
>query browser that lets you test out queries in a page.  I developed
>it for a company I am consulting for and they have found it pretty
>useful.  It basically just has textarea, and most of the time people
>seem to be copying their sql code into it which will retain their
>tabs, but there is no way to insert a tab in while writing directly
>into it.  Its just a much asked for feature that I dont think is
>possible, but just wanted to check.  But I dont want it to insert code
>of course behind the scenes, I need it to be an actual tab.
>
>
>On 11/11/05, Matt Robertson <[EMAIL PROTECTED]> wrote:
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223998
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to