How to add TEXT to my LightBox?

TainTeD

New Member
\[code\]<!-- language: lang-js -->function displayBox(){ document.getElementById('box').innerHTML = '<img class="image" src="http://stackoverflow.com/questions/15868520/images/close.png" onClick="javascript:hideBox()"/>' document.getElementById('box').style.display ="block";}\[/code\]These two functions allow my box to appear, and with a picture of an X, it closes.However I have text in my HTML document but I do not know how to make it appear in this lightbox.How do I do so?
 
Top