473,406 Members | 2,220 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Enter key behavior

Hi,

When the cursor is in an INPUT TEXT control and the Enter key is hit,
what it's happen. I mean what is the chain of actions starting from that
point.

I have an ASP application that save modifications (qty chang in an input
text) when the user navigate from page to page. For doing so I check if
the value of the TEXT control differ from the value in the table. If so,
I insert or update the table. But, when I hit Enter it is exactly the
same as if I moved to another page. I would like to know exactly what's
happen, in order to take advantage of this behavior.

thank's
serge

Jul 19 '05 #1
3 1673
Hi,

How to know when the user hit enter?

thank's in advance
sereg

Serge Myrand wrote:
Hi,

When the cursor is in an INPUT TEXT control and the Enter key is hit,
what it's happen. I mean what is the chain of actions starting from that
point.

I have an ASP application that save modifications (qty chang in an input
text) when the user navigate from page to page. For doing so I check if
the value of the TEXT control differ from the value in the table. If so,
I insert or update the table. But, when I hit Enter it is exactly the
same as if I moved to another page. I would like to know exactly what's
happen, in order to take advantage of this behavior.

thank's
serge


Jul 19 '05 #2
http://ppewww.ph.gla.ac.uk/%7Eflavel...mquestion.html

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Serge Myrand" <in**@softdelirium.qc.ca> wrote in message
news:40***************@softdelirium.qc.ca...
Hi,

When the cursor is in an INPUT TEXT control and the Enter key is hit,
what it's happen. I mean what is the chain of actions starting from that
point.

I have an ASP application that save modifications (qty chang in an input
text) when the user navigate from page to page. For doing so I check if
the value of the TEXT control differ from the value in the table. If so,
I insert or update the table. But, when I hit Enter it is exactly the
same as if I moved to another page. I would like to know exactly what's
happen, in order to take advantage of this behavior.

thank's
serge

Jul 19 '05 #3
Thank's it's what i am reading!

"Aaron [SQL Server MVP]" wrote:
http://ppewww.ph.gla.ac.uk/%7Eflavel...mquestion.html

--
http://www.aspfaq.com/
(Reverse address to reply.)

"Serge Myrand" <in**@softdelirium.qc.ca> wrote in message
news:40***************@softdelirium.qc.ca...
Hi,

When the cursor is in an INPUT TEXT control and the Enter key is hit,
what it's happen. I mean what is the chain of actions starting from that
point.

I have an ASP application that save modifications (qty chang in an input
text) when the user navigate from page to page. For doing so I check if
the value of the TEXT control differ from the value in the table. If so,
I insert or update the table. But, when I hit Enter it is exactly the
same as if I moved to another page. I would like to know exactly what's
happen, in order to take advantage of this behavior.

thank's
serge


Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: jerrygarciuh | last post by:
Hello, I have been playing with various Googled solutions for capturing the <Enter> key to suppress form submission. My first question is whether anyone has a script that works in all common...
10
by: Deano | last post by:
I think that just about sums it up. Is there a fix/workaround for this?It's quite annoying behaviour and not user-friendly.thanksMartin
2
by: MJC | last post by:
Hi All, I just built a database in Access XP/Win XP and am having an issue with the enter key behavior when the database is run under Windows 2000. If you use the enter key to tab through the...
7
by: deko | last post by:
I have a textbox in a form into which users enter a string to execute a search. After the user presses Enter, I'd like the focus to go back to the textbox, but the default behavior of the Enter...
1
by: Jeff Gerber | last post by:
/* This test program will give a "Value cannot be null" error. If the lock in this code is removed (or Monitor.Enter()) the program will run as expected. I have found no explaination in...
0
by: Greg | last post by:
I am working on an application that requires working with numbers in scientific notation. I am using SqlServer as the database and I have created strongly typed data adapters and datasets. The...
5
by: Eric | last post by:
Hi All, I'm very experienced in traditional ASP and am new to (am learning) ASP.NET. FYI: I am initially learning ASP.NET with VB.NET to ease the transition for me. I have encountered what I...
2
by: 23s | last post by:
My site's login page has a form w/ 2 textboxes and a submit button. If I'm in either of those textboxes (i.e., either one of the textboxes has focus), in any given browser, hitting "enter" on my...
4
by: Frank Reichenbacher | last post by:
In MS Access VB, which I have been using for several years, the default enter key behavior in a textbox is identical to the tab key. Data are read and the focus moves to the next control in the tab...
18
by: Zytan | last post by:
I want the same function to be run whether you press Enter or double click the listbox. It seems really verbose to write both handlers to both events everytime, even if they both call the same...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.