jayp
01-07-2003, 10:21 PM
I have a readonly text box that is populated by a child window (the child window then closes) when this text box is populated I would like to spawn another child window but am unsure of the event handler required.
Basically.....
A date is entered into the text box, this date is passed to a child window and (via ASP) a DB is checked to make sure that this date is available.
If the date is ok then the child window say "Date ok" and the window will close in 3 seconds. If the date is not ok then the child window will say "Choose another date" close in 3 seconds and clear the contents of the original text box. I only need JS help here as I have the ASP done (including the "Date ok" to the screen bit).
When textbox populated event handler opens window passing the date value, closes in 3 seconds and either clears the textbox or leaves it populated depending on the outcome of the ASP bit.
Jay
Basically.....
A date is entered into the text box, this date is passed to a child window and (via ASP) a DB is checked to make sure that this date is available.
If the date is ok then the child window say "Date ok" and the window will close in 3 seconds. If the date is not ok then the child window will say "Choose another date" close in 3 seconds and clear the contents of the original text box. I only need JS help here as I have the ASP done (including the "Date ok" to the screen bit).
When textbox populated event handler opens window passing the date value, closes in 3 seconds and either clears the textbox or leaves it populated depending on the outcome of the ASP bit.
Jay