Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

clear html screen

<html>
    <head></head>
    <body>
        <p>This should not appear</p>

        <script type="text/javascript">
            document.body.innerHTML = '';
        </script>

        <p>This should appear.</p>
    </body>
</html>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #clear #html #screen
ADD COMMENT
Topic
Name
5+1 =