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 src="./ajquery.js"></script>
|
||||||
<script>
|
<script>
|
||||||
document.write("Hello, World!");
|
document.write("Hello, World!");
|
||||||
console.log($("body").innerText);
|
console.log($("body").textContent));
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue