Solved

Replace <Enter> With <Tab> In ASP Using VBScript

Posted on 2004-10-19
4
2,592 Views
Last Modified: 2012-06-27
Does anyone know how replace in the <Enter> keydown event with the <Tab> keydown using VBScript within ASP or ASP.NET?

I can see examples in this forum using Javascript, but not VBScript. I prefer to use the later.



0
Comment
Question by:gbmcneil
  • 2
4 Comments
 

Author Comment

by:gbmcneil
ID: 12352007
Is it as simple as:

Sub document_onKeydown
      'Replace <Enter> With <Tab> key
      If window.event.keyCode = 13 Then
             window.event.keycode = 9
      End If
End sub
0
 

Author Comment

by:gbmcneil
ID: 12556356
It seems to work for me. So, I'll keep it.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12808198
PAQed with points refunded (125)

modulo
Community Support Moderator
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
XSLT 5 47
RSS Feed Validation 2 63
How to run a side-by-side staging website 16 66
Problem to Popup 2 83
Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

810 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