innerText
The innerText property sets or returns the text content of the specified HTML element. It includes all the visible text within the element, including any child elements or nodes. Unlike the textContent property, innerText is aware of styling and will not return text that is hidden by CSS rules. The innerText property can be accessed and modified using JavaScript or jQuery.
原文地址: https://www.cveoy.top/t/topic/bsZQ 著作权归作者所有。请勿转载和采集!