Home > Web Front-end > HTML Tutorial > divhidden_html/css_WEB-ITnose

divhidden_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:12:18
Original
936 people have browsed it





<@rescontentMacro. resListToolbar pagi=rc.contextPath/>

<@rescontentMacro.resListToolbar pagi=rc.contextPath/>




I want to hide the above code after the page is displayed. Is there any hero? Please help me?



Reply to discussion (solution)

Hidden code? !

Just let the background not print this paragraph. display:none View the source file and you can also see the code.

display: none;

window.onload = function( ){
document.getElementById("ID to be hidden").style.display = "none";
}

display:none Hide
display:block Show

None of you can do this

.hide()
.show()

It is impossible to hide the html source code.

Your idea is like tearing down all the bricks after the house is built. Do you think it is possible?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template