I have this fiddle which contains html, css and jquery code.
In the HTML portion of my fiddle I have this code:
I'm trying to hide the span tag with this id="Span1 on page load from completely being rendered in the browser.
If you run this fiddle in Google Chrome and look at the html rendered inside Div1 it looks like this:
I noticed the html for the span tag rendered in google chrome is this.
<span id=Span1" style="display: none;"></span>
My fiddle just hide its visibility but I actually want to keep the span tag from being completely rendered not just made invisible.
So this span wasn't hidden. just some css was added to it.
I don't want just the display:none tag added to it like my fiddle is currently doing.