You are here: irt.org | FAQ | DHTML | Q628 [ previous next ]
In Netscape Navigator 4 and Internet Explorer 4 - DHTML can be used to reveal layers - take a look at Dynamic Positioning.
In anything else then you can use a form field:
<SCRIPT LANGUAGE="JavaScript"><!--
function update1() {
document.answer1.text.value = '42';
}
//--></SCRIPT>
<A HREF="javascript:update1()">What is the answer?</A>
<FORM NAME="answer1">
<INPUT TYPE="TEXT" NAME="text">
</FORM>