View Single Post
 
Old March 22nd, 2005, 10:48 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

To reference something like document.fexp.retdt.value you need a <form> with an name of fexp and a control (like a textbox, dropdown etc) with a name of retdt.

If you don't have this form and control, document.fexp.retdt.value results in a null pointer exception.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.