Home  >  Article  >  Web Front-end  >  divhidden_html/css_WEB-ITnose

divhidden_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:12:18878browse





<@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?

Statement:
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