Hidding in HTML
Is there a way to hide something using HTML or other means in a webpage.
I want to put free web tracking in my page and same time hide it. Is this possible.
Web Development
Is there a way to hide something using HTML or other means in a webpage.
I want to put free web tracking in my page and same time hide it. Is this possible.
contained in the span tags incase it is needed later before erasing it, which is performed by the JavaScript function hideStuff. The function show stuff copies the original HTML from the hidden text box and restores it. Hope this helps.
function hideStuff() {
document.all.hdnHTML.value = document.all.spanToHide.innerHTML;
document.all.spanToHide.innerHTML = ??;
}
function showStuff() {
document.all.spanToHide.innerHTML = document.all.hdnHTML.value;
}
by jay eckles
by dahlbyk
Just put style="display: none" in the containing block's tag. If this doesn't work, please post the code you need to hide. You shouldn't need Javascript to hide it.
Cheers ~ K
This discussion is closed to new replies.
Sort by Trending