按“输入”键和放入文本框

问题描述:

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 use TextArea in HTML or Set Textmode property value=Multiline to TextBox in ASP.NET