Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-10-19
4
Medium Priority
?
2,599 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
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.
The viewer will learn how to dynamically set the form action using jQuery.
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)
Suggested Courses

618 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