用Enter键取代tab键

 
1.
this.TextBox1.Attributes.Add("OnKeyPress","<script>if keycode==13 keycode=9; return false;</script>");

2.
<input type='text' onkeydown="if (event.keyCode ==13) event.keyCode =9;">
posted @ 2007-01-09 14:44  '.Elvis.'  阅读(149)  评论(0编辑  收藏  举报