posted 18 years ago
The above code works for me in firefox 1.0.7, tested it with a quick html page below, what happens when you try it? Note you do need to leave the datefrom field before dateTo will activate (eg press Tab).
Now in some browsers the getElementById seems not to work correctly so you might need to use:
Struan