I have the following code as an onChange, and would like to also have it as onLoad
as onChange it is:
onChange="return (isAgeAtRetirement(this, termDtYr, termDtMn, termDtDy)
and trying as onLoad:
... isAgeAtRetirement(termDtYr, termDtMn, termDtDy, 20000);">
which gives the following error: termDtYr is undefined
Why is this and how would I fix it??
as onChange it is:
onChange="return (isAgeAtRetirement(this, termDtYr, termDtMn, termDtDy)
and trying as onLoad:
... isAgeAtRetirement(termDtYr, termDtMn, termDtDy, 20000);">
which gives the following error: termDtYr is undefined
Why is this and how would I fix it??