doc: .textContent for modernized usage example
This commit is contained in:
parent
8084f8ff30
commit
607f69e402
|
@ -6,6 +6,6 @@
|
|||
<script src="./ajquery.js"></script>
|
||||
<script>
|
||||
document.write("Hello, World!");
|
||||
console.log($("body").innerText);
|
||||
console.log($("body").textContent));
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue