You are here: irt.org | FAQ | JavaScript | Status | Q519 [ previous next ]
Try:
<script language="JavaScript"><!--
function myStatus(text) {
window.status = text;
}
//--></script>
<form>
<input type="text" name="myText" value="Text to display goes in here">
<input type="button" value="Click Me" onClick="myStatus(this.form.myText.value)">
</form>