View Full Version : Keep CSS display: none content out of page source with JS?

10-22-2009, 01:04 AM
I know that when you "display: none" with CSS it will not show the div content in the browser, but will still show the div and content in page source.

Is there a way (via javascript or anything else) to also remove the content from page source at the same time?


10-22-2009, 11:47 AM
This is a cross-post. The original thread is at http://codingforums.com/showthread.php?t=180221 . Please close this one here.