jwindon
01-11-2004, 06:03 AM
One more for the night.....
I have a disabled field that is assigned it's value with the page onLoad event.
When I hit my reset button, it deletes the content of this field which is also disabled with the onLoad event.
I've put a function on the reset button to control what it does and I've played with true and false on that button too; all with no luck.
Here is what I have now:
function ResetThisForm(){
document.REG.reset();
getDateStr();//this is the function that runs onLoad of the form, assigns a value to a text field on the form and disables that field
}
:confused: :(
I have a disabled field that is assigned it's value with the page onLoad event.
When I hit my reset button, it deletes the content of this field which is also disabled with the onLoad event.
I've put a function on the reset button to control what it does and I've played with true and false on that button too; all with no luck.
Here is what I have now:
function ResetThisForm(){
document.REG.reset();
getDateStr();//this is the function that runs onLoad of the form, assigns a value to a text field on the form and disables that field
}
:confused: :(