Известный Болтун
Зарегистрирован: 21 February 2005
Сообщения: 680
Примеры кода: 0
|
RE: При событии OnTextChange происходит нежелательный редирект |
28 October 2006 21:42 |
|
|
|
|
TextBox1.Attributes.Add("onkeydown", "if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) {document.getElementById('"+Button1.UniqueID+"').click();return false;}} else {return true}; ");
/**********Comments***************************/
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With gr
Данное сообщение получено с сайта GotDotNet.RU
Последний раз редактировалось 28 October 2006 21:42
|
|