You can't put an entire html document in console, can you?

    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js"></script>
<table border=2 cellspacing=4>
    <tr><td>1</td><td></td></tr>
    <tr><td>2</td><td></td></tr>
    <tr><td>3</td><td></td></tr>
    <tr><td>4</td><td></td></tr>
</table>
    <script>
$(function(){
    $("table").find("tr").hide().slice(1,3).show();
    })
    </script>

the above code cannot be copied to the browser"s console, run?

Apr.23,2021

:console js 

V8 engine is the environment in which js is running


Why not, of course!

 

if you just want to print this code, you can console.log ('that big piece')
but put it in quotation marks, otherwise it will be thought of as a variable, not a string

in js.

if you want to print the entire document on the page, you can console.log (document), or print body:console.log (document.body)
the entire document will be printed, click on the small triangle to release the detailed code

if you want to see jquery, just find an uncompressed jquery to open it.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf349c-46ea9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf349c-46ea9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?