Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Java
- decompiler
- 자바
- varags
- 이클립스
- 자바스크립트
- jsp
- 안드로이드
- Eclipse
- MSsql
- TextBox
- Maven
- Apache Lucene
- Web Service
- 웹뷰
- Bootstrap
- C#
- javascript
- STS
- SpringSource Tool Suite
- html
- 웹 서비스
- scrollView
- MANTIS
- WebView
- Redirect
- asp.net
- MS-SQL
- Android
- 컬럼명
Archives
- Today
- Total
목록2014/05/28 (1)
bboks.net™
New Line in Textarea to be converted to <br/>
This will replace line breaks to HTML break tags. The different combinations are to cover the different browsers/systems and how line breaks are interpreted. $(this).val().replace(/\r\n|\r|\n/g," ")This will bring it back to new lines - also covering how different browsers interpret innerHTML. boxText.replace(/ /g,"\n"); [출처] New Line in Textarea to be converted to
Web/jQuery
2014. 5. 28. 17:32