JavaScript reload

by Peggi & Ben Rodgers <woodduck(at)mbay.net>

 Date:  Sat, 14 Apr 2001 10:48:25 -0700
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
Hi all,

I've been trying to write a little function that will allow my text box 
initial settings to reset when the page is reloaded.  I'm working with 
layers.  Works great in Netscape, sucks in Explorer (which is sorta 
backwards).  This is what I'm using for both:

document.myForm.myBox.value = "1";

I've tried using a literal rather than a string literal and that doesn't 
work in either browser.  I've also tried adding this to Explorer:

document.all.myForm.myBox.value

And that doesn't work either.

Any ideas about what I'm missing?

Thanks much,

Peggi

Peggi Rodgers
Flash Programmer
Tide Pool Enterprises
Pacific Grove, CA
prodgers(at)tide-pool.com
www.tide-pool.com

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA