Solved

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

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Consuming WCF service from Java with callback contract 5 276
replace quotes with UTF-8 character 38 104
cookies analysis tools 2 100
.php tree directory? 5 83
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

840 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