[Javascript] createTextRange is not a function
오타가 난게 아니라면 크롬에서는 createTextRange() 함수가 지원되지 않는다.
아래와 같이 createRange 를 사용해야 한다.
if (document.selection) { //IE
range = document.body.createTextRange();
range.moveToElementText(document.getElementById(containerid));
range.select();
} else if (window.getSelection) { //others
range = document.createRange();
range.selectNode(document.getElementById(containerid));
window.getSelection().addRange(range);
}