jsp
textarea 줄바꿈 치환
우주정복☆
2015. 8. 27. 18:27
textarea문자값.replace("\r\n", "<br>");
html 코드로 출력시 <br>로 치환하지 않으면 html 코드에서 줄바꿈이 되지 않는다.