按“输入”键和放入文本框 [英] press "Enter" key and put in a textbox
本文介绍了按“输入”键和放入文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hello All
当我输入按键时如何将br插入文本框并通过使用带有java脚本的asp.net
Hello All
how can insert br to text box when i enter in key press and get the text with br where i click in button by using asp.net with java script
推荐答案
我从搜索中找到了同样的东西。
试试吧
http://stackoverflow.com/questions/5455104/adding-br-to-the-text -box-when-user-press-enter-key-in-jquery [ ^ ]
I found the same from search.
Try it
http://stackoverflow.com/questions/5455104/adding-br-to-the-text-box-when-user-press-enter-key-in-jquery[^]
如果你想要多行文本框然后在HTML中使用TextArea
或设置Textmode
属性值=多行
到ASP.NET中的TextBox
If you want multi-line textbox then useTextArea
in HTML or SetTextmode
property value=Multiline
toTextBox
in ASP.NET
这篇关于按“输入”键和放入文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文