Aie! aidez moi.. je ne suis pas un as du java

roger -  
arth Messages postés 9374 Date d'inscription   Statut Contributeur Dernière intervention   -
Bonjour,

voilà, je fait un peu de maintenance sur mon site et j'ai perdu quelque chose. Quelqu'un peut il m'aider à réparer mon module de calcul?merci
<tr>
<td><br /></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td width="230"><strong>T</strong>ype d'ampoule</td>
<td>Dure de vie</td>
<td>Watts</td>
<td>Quantité</td>
<td colspan="2">total en CHFs (50000 hrs @ 2 ct)</td>
</tr>
<tr>
<td>Ampoules a incandescence</td>
<td>2'000 heures</td>
<td><select id="incandWattOpt" style="width: 60px;" name="incandWattOpt" selected="selected"> 0 <option selected="selected" value="0">0</option> <option value="20">20</option> <option value="40">40</option> <option value="60">60</option> <option value="80">80</option> <option value="100">100</option> </select></td>
<td><input style="width: 50px;" id="incandQty" name="incandQty" type="text" /> <input style="height: 18px;" value="Vidé" type="button" alt="Clear" /></td>
<td><input style="width: 18px; height: 18px;" value="=" type="button" /></td>
<td><input style="width: 80px;" id="incandCost" name="incandCost" type="text" /></td>
</tr>
<tr>
<td>Tube Fluorescent compact (CFL)</td>
<td>10,000 heures</td>
<td><select id="cflWattOpt" style="width: 60px;" name="cflWattOpt" selected="selected"> 0 <option selected="selected" value="0">0</option> <option value="10">10</option> <option value="15">13-15</option> <option value="20">20</option> <option value="30">26-29</option> <option value="40">38-42</option> <option value="50">55</option> </select></td>
<td><input style="width: 50px;" id="CflQty" name="CflQty" type="text" /> <input style="height: 18px;" value="Vidé" type="button" alt="Clear" /></td>
<td><input type="button" value="=" style="width: 18px; height: 18px;" /></td>
<td><input style="width: 80px;" id="CflCost" name="CflCost" type="text" /></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Ampoule LED</td>
<td>50,000 heures</td>
<td><input style="width: 50px;" id="LedWatt" name="LedWatt" type="text" /> <!--<select id="LedWattOpt2" style="width: 60px;" name="LedWattOpt2" selected="selected"> 0 <option selected="selected" value="0">0</option> <option value="10">10</option> <option value="15">13-15</option> <option value="20">20</option> <option value="30">26-29</option> <option value="40">38-42</option> <option value="50">55</option> </select> --></td>
<td><input style="width: 50px;" id="LedQty" name="LedQty" type="text" /></td>
<td><input type="button" value="=" style="width: 18px; height: 18px;" /></td>
<td><input style="width: 80px;" id="CflQty3" name="CflQty3" type="text" /></td>
</tr>
A voir également:

1 réponse

BloodyAngel Messages postés 1482 Date d'inscription   Statut Contributeur Dernière intervention   403
 
Hello,
je ne vois pas de java dans ton code :-/
Sinon, peux tu nous en dire plus sur ton problème ?
0
roger
 
hello

merci d'intervenir. En faite, c'est comme je le pensait. Je l'ai effacé.. Il n'y a plus que les boutons.

En faite c'est une multiplication simple , avec des nombre dans un menu déroulant qu'on multiplie avec une quantité (5, 8 ou 10) qui donne un résultat.

le calcul basic est 35W (deroulant) multiplié par 5 (nombre d'ampoules) = ((somme*50)*0.2) ce qui donne mon cout au kwh!

après j'ai vu que la fonction "vidé" est aussi absente

en faite tout le java!!!

impossible de remettre la main dessus.

si on arrive m'aider..

c'est cool..

sinon tant pis!

bonne journée

roger
0
arth Messages postés 9374 Date d'inscription   Statut Contributeur Dernière intervention   1 293
 
Pas java, Javascript.
0