This sounds like a stupid question but i can’t figure it out for the life of me.
So say I am making a dialog box.
<div id="dialog" title="mytitle" >blhablahablah
</div>
How do I stop that from showing up on the page. I only want to access it when it is in the dialog.
Add
style="display:none;"to your<div>tag.Another solution would be adding
#dialog { display: none; }to your CSS.