夏雷

积极人生,努力加油!
[导入]asp .net web 默认选中

 

// 默认选中
this.RegisterStartupScript("","<script   language='javascript'>{Form1.tbx2.select();   }</script>");  

 

把这段代码放到 page_load 时间中   tbx2 为控件啊!


文章来源:http://xialei222.blog.163.com/blog/static/48046738200802193032160

posted on 2008-01-21 09:31  夏雷  阅读(105)  评论(0编辑  收藏  举报