Write text/messages on Web page without using a field, hide when formulas or compute text.
Place on the form where you want to start the text to display the following as pass-through HTML:
<div id="display">
</div>
Then you can write to this location easily with this code:
msg="Hello everybody"
document.getElementById("display").innerHTML ='<VALIGN=TOP><br><br><FONT SIZE=2 FACE="Arial">'+msg+'</FONT>'
Of Course you could display text retrieved from notes fields with this code to.
If you want to hide (remove) it again just use
document.getElementById("display").innerHTML =''
Have fun, Ronald
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
This was first published in April 2002