具有MultiLine属性的文本框 [英] Textbox with MultiLine Property

查看:275
本文介绍了具有MultiLine属性的文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在带有多行文本模式的面板中有一个文本框.当页面到来时,该文本框是不可见的,如果我按Tab键,则焦点将移至文本框,然后,如果我开始编写,则该文本框将突出显示.但我希望该textarea框始终显示/突出显示.

在此先感谢...

Hi,

I have a textbox in panel with Multiline textmode. When the page comes that textbox is not visible, if i press Tab button then the focus came to text box and then if i start writing then that got highlighted. But i want that textarea box to be shown/highlighted all the time.

Thanks in Advance...

推荐答案

window.onload = function(){document.getElementById(``TextBox'').focus()}
window.onload=function(){document.getElementById(''TextBox'').focus()}


这篇关于具有MultiLine属性的文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆