... contentDocument || theFrame.contentWindow.document; var theJson = theDoc.body.innerText; //var theJson = theDoc.html.innerText; console.log('json = ['+theJson+']'); [/code]
태그: html, iframe, json, innerText, getElementById
javascript에서 특정 글자를 innerText를 통해서... id와 class명을 알 수가 없는 웹페이지라서, innerText... 그런 다음 각 요소의 innerText 프로퍼티를 검사하여...
태그: javascript, innertext
div 박스에 자바스크립트로 텍스트를 추가 했는데 추가된 텍스트가 박스 외부로 삐져 나오는 이유가 뭘까요? (Box1 부분) 그리고 두 번째 박스에서는 줄바꿈 되면서...
태그: javescript, css, innerHTML, innerText, textContent, 자바스크립트, 검색질문, 통합검색궁금증, 통합검색질문하기
document.getElementbyId('div').innertext = '적은 내용' 으로 적은 내용이 id = 'div' 인 항목이 '적은 내용'으로 출력되었는데, 이를 사용해서 if(id = 'div'인 항목의...
태그: javascript기초, javascript, innertext