Need help of an expert (should be relatively quick)

Discussion in 'JavaScript' started by ericwilson9, Mar 17, 2008.

  1. #1
    I am trying to get this code to calculate properly. Can some body please advise me? I would like the first entry box multiplied by the number selected in the drop down menu then multiplied by ".05" I would like this number to appear in the final space following the words, "waste elimintaed. Thanks SO much!

    <html> <head> <font color="green"><font size="5"><b> &nbsp &nbsp&nbsp &nbsp &nbsp &nbsp &nbsp EcoCalculator </b></font><br> <font color="red"> &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp By</font><br> &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp <a href="http://s51.photobucket.com/albums/f398/ericawilson9/?action=view&current=GreenLogo4.jpg" target="_blank"><img src="http://i51.photobucket.com/albums/f398/ericawilson9/GreenLogo4.jpg" border="0" alt="Photobucket"></a> <br><br><br> </head> <body> <TABLE> <TR>

    <TD><strong>EcoHangers (Quantity): </strong></TD>

    <TD><INPUT TYPE ="text" NAME="eco" SIZE=7 ></TD> </TR> <TR>

    <TD><strong>Production Runs:</strong></TD>
    <TD><span style="visibility: hidden;" class="error" id="paperGrade_error"></span><select name="paperGrade" size="1" onchange="changeValues(this)"> <option value="0">Select one</option> <option value="1">1 </option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> </select><BR> </TD>
    </TR>

    </TABLE>
    <BR>
    <TR> <TD><center></center></TD><TD>&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp <INPUT TYPE ="button" VALUE="Calculate" ONCLICK="fido(this.form)"></TD> </TR> <BR><BR> <TABLE> <TR> <TD><strong>Waste Eliminated:</strong><br><font size="1">(18", 14.5 gauge hangers)</font></TD>
    <BR><TD><INPUT TYPE="text" NAME="waste" SIZE=7 > <small> lbs. of steel</small> </TD> </TR> </TABLE> <BR> <BR> <script type="text/javascript"> document.write; </script> </body> </html>
     
    ericwilson9, Mar 17, 2008 IP