Solved

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

Posted on 2004-10-19
4
2,590 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now