| |

VerySource

 Forgot password?
 Register
Search
View: 916|Reply: 8

How can I press the Enter key in one textbox and move the cursor to another textbox?

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-5 15:20:02
| Show all posts |Read mode
Beginner
RT
Reply

Use magic Report

0

Threads

13

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-1-5 19:27:01
| Show all posts
textbox1.Attributes.Add ("onkeydown", "if (event.keyCode == 13) document.all ('" + textbox2.ClientID + "'). focus ()")
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-5 19:45:01
| Show all posts
up
Reply

Use magic Report

0

Threads

64

Posts

35.00

Credits

Newbie

Rank: 1

Credits
35.00

 China

Post time: 2020-1-6 14:27:01
| Show all posts
Strongly agree!

It would be nice if all understood so asp.net so clean and accurate.
Reply

Use magic Report

0

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-6 23:48:01
| Show all posts
First floor correct
Reply

Use magic Report

1

Threads

7

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

Post time: 2020-1-7 00:00:01
| Show all posts
mark it
Reply

Use magic Report

0

Threads

21

Posts

16.00

Credits

Newbie

Rank: 1

Credits
16.00

 China

Post time: 2020-1-7 00:12:01
| Show all posts
<script type = "text / javascript">
document.onkeydown = function () {
if (event.keyCode == 13)
event.keyCode = 9;
}
</ script>
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-22 10:00:01
| Show all posts
Where to put the code? How did mine report an error?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-22 18:45:01
| Show all posts
Support, learn
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list