哪吒机器人提醒:

提醒:MDC - New pages [en]
【标题】DOM:document.textContent
【摘要】Summary: +spec linkThis merely returns null for a document (it returns other values for other nodes). To grab all of the text and CDATA data for the whole document, one could use document.documentElement.textContent.==Specification==* http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-textContent... (04-09 21:01)