JavaScript용 픽셀단위 문자열 자르기 // by ziecle 07.02.06 function __getText(elem) { if (elem.innerText) return elem.innerText; if (elem.textContent) return elem.textContent; return elem.innerHTML.replace(/]+>/gi,""); } function __setText(elem, text) { if (elem.innerText) { elem.innerText = text; return; } if (elem.textContent) { elem.textContent = text; return; } while (elem.firstChild) elem.removeChild(e..