>You want it to change if the variable changes, but it doesn't have
to be dynamic? You're not being clear. What is it that you're
trying to do?
==============
I have a frame load with a default value for a parameter that is use for sizing
a plugin (Chime). I then want to have a input box show this default value but
then allow a new number to be put in so that when the frame is reloaded, the
plugin has this new value and the new value is shown in the input box. I looked
at what
gf******@earthlink.net had written. I got it to do the above with
=============================
<form name=form2>
<input type=button onClick="resetFile()" value="Reset/Reload">
Height and Width of Chime window=
<INPUT NAME="hW" size="6" onFocus='this.value=parent.upper.heightWidth' >
</form>
<SCRIPT LANGUAGE=JAVASCRIPT>
document.form2.hW.focus();
</SCRIPT>
=============================
The statement, document.form2.hW.focus();, makes the number (default or new)
appear in the box when the page loads or reloads.
If there is a better way, let me know.
Thanks,
Jeff