D
Don Lancaster
In an existing, tested and working program, I have a form entry that
simplifies to...
<INPUT name ="fp1s" type="text" value=0.000 size=12 >
and a button of...
<input type="button" value=" Set Amplitude "
onclick="setAmplitude (this.form)">
One of the things the setAmplitude function does is calculate a p1s
value and then does a...
form.fp1s.value = p1s ;
This seems to work fine. I wanted to add a new feature to the program
by adding a new button of
<input type="button" value="Improve?" onclick="imProveX
(this.form)">
An initial function for imProveX was...
function imProveX (form) { setAmplitude (this.form) ;
} ;
This should be doing the same thing the other button does, except from
within a new proc instead of a button click. Instaad, an error of ...
'fp1s' is null or not an object
gets returned.
What am I doing wrong?
The full code appears as http://www.tinaja.com/demo28q.asp
--
Many thanks,
Don Lancaster voice phone: (928)428-4073
Synergetics 3860 West First Street Box 809 Thatcher, AZ 85552
rss: http://www.tinaja.com/whtnu.xml email: (e-mail address removed)
Please visit my GURU's LAIR web site at http://www.tinaja.com
simplifies to...
<INPUT name ="fp1s" type="text" value=0.000 size=12 >
and a button of...
<input type="button" value=" Set Amplitude "
onclick="setAmplitude (this.form)">
One of the things the setAmplitude function does is calculate a p1s
value and then does a...
form.fp1s.value = p1s ;
This seems to work fine. I wanted to add a new feature to the program
by adding a new button of
<input type="button" value="Improve?" onclick="imProveX
(this.form)">
An initial function for imProveX was...
function imProveX (form) { setAmplitude (this.form) ;
} ;
This should be doing the same thing the other button does, except from
within a new proc instead of a button click. Instaad, an error of ...
'fp1s' is null or not an object
gets returned.
What am I doing wrong?
The full code appears as http://www.tinaja.com/demo28q.asp
--
Many thanks,
Don Lancaster voice phone: (928)428-4073
Synergetics 3860 West First Street Box 809 Thatcher, AZ 85552
rss: http://www.tinaja.com/whtnu.xml email: (e-mail address removed)
Please visit my GURU's LAIR web site at http://www.tinaja.com