Re: JS question...whats wrong with this...

by "Srinivasan Ramakrishnan" <srinivar(at)md3.vsnl.net.in>

 Date:  Sun, 29 Apr 2001 18:40:30 +0530
 To:  "Scott Rushing" <srushing(at)wfubmc.edu>,
<hwg-languages(at)hwg.org>
 References:  wfubmc
  todo: View Thread, Original
<snip>

> function validResistance() {
>    num = parseInt(document.searchform.min_resist.value);
>    num = parseInt(document.searchform.max_resist.value);

Aaahhh.... Why are you overwriting the value of num?

What you must to is have 2 variables like minnum & maxnum, which will store
the values of min_resist & max_resist.

-Srini
--
http://www.sriniram.com
http://symonds.net/~sriniram

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA