input.value = textarea.innerHTML 의 작동

2010-08-12

input.value = textarea.innerHTML; 이라는 구문이 실행될 때, innerHTML안에 tag가 있으면 >가 &gt;로, <가 &lt;로 바뀐다. (IE6에서 확인)

윗몸 일으키기 100개 적재적소
comments powered by Disqus