如何在文本框中设置闪烁光标而不像gmail那样点击它 [英] how to set blink cursor in textbox without clicking on it like gmail
本文介绍了如何在文本框中设置闪烁光标而不像gmail那样点击它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
告诉我回答bgthn yn 56y 56yu ......
解决方案
你也可以在HTML标签中写一段代码
< bodyönload=javascript:document.form.textbox.focus();>
。 。 。
< / body>
此代码只能在独立页面中使用,即不应涉及母版页。
您可以在子页面或独立页面中使用以下语法。
textbox.Focus();
tell me answer bgthn yn 56y 56yu ......
解决方案
You can also write a piece of code in HTML in body tag
< body önload="javascript:document.form.textbox.focus();">
. . .
</body>
This code can be used only in independent page i.e, no master page should be involved.
You can use the following syntax in child pages or independent page.
textbox.Focus();
这篇关于如何在文本框中设置闪烁光标而不像gmail那样点击它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文