ayuda de JavaScript
- musty202
- Born


- Registrado: May 30, 2011
- Mensajes: 3
- Status: Offline
Hola, estoy dando esta tarea para crear una página de javascript, necesito un javascript que calcular y generar una simple cita con el precio total del elemento seleccionado y su cantidad en una página nueva y en forma de tabla, necesito esto para el siguiente y el precio...
Se trata de cuánto puedo ir
Se trata de cuánto puedo ir
Código: [ Select ]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:///TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http:///1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script type="text/javascript">
function EstimateCalc() {
alert('Estimate calculation to be added here');
return false;
}
</script>
<style type="text/css">
<!--
.style1 {
color: #00FF00;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 36px;
}
-->
</style>
</head>
<body>
<form name="myForm" action="" method="post" onsubmit="return EstimateCalc()">
<div align="center">
<table width="669" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="11" height="41"> </td>
<td width="173"> </td>
<td colspan="4" valign="top"><span class="style1">Price Quotation </span></td>
<td width="10"> </td>
<td width="65"> </td>
<td width="42"> </td>
<td width="44"> </td>
</tr>
<tr>
<td height="15"></td>
<td></td>
<td width="73"></td>
<td width="59"></td>
<td width="64"></td>
<td width="128"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="19"></td>
<td colspan="2" valign="top"><div align="center">Product and Brands </div></td>
<td></td>
<td valign="top"><div align="center">Quantity</div></td>
<td></td>
<td></td>
<td colspan="2" valign="top"><div align="center">Amount Each </div></td>
<td></td>
</tr>
<tr>
<td height="13"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="19"></td>
<td colspan="8" valign="top" bgcolor="#CCCCCC">Nescafe Product </td>
<td></td>
</tr>
<tr>
<td height="22"></td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="22"> </td>
<td colspan="2" valign="top"><label>
<div align="left">
<input type="checkbox" name="checkbox" value="Nescafe Original" />
Nescafe Original</div>
</label></td>
<td> </td>
<td valign="top"><label>
<select id="itemCntNescafeOriginal" name="select" size="1">
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="10">10</option>
</select>
</label></td>
<td> </td>
<td> </td>
<td colspan="2" valign="top"><div align="center">$ 300.00 </div></td>
<td> </td>
</tr>
<tr>
<td height="31"> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="19"></td>
<td colspan="2" rowspan="2" valign="top"><label>
<div align="left">
<input type="checkbox" name="checkbox2" value="checkbox" />
Nescafe Espresso </div>
</label></td>
<td></td>
<td rowspan="2" valign="top"><label>
<select id="itemNescafeEspresso" name="select" size="1">
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="10">10</option>
</select>
</label></td>
<td></td>
<td></td>
<td colspan="2" valign="top"><div align="center">$ 299.99 </div></td>
<td></td>
</tr>
<tr>
<td height="3"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="30"></td>
<td> </td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="19"></td>
<td colspan="8" valign="top" bgcolor="#CCCCCC"><div align="left">MILO Product </div></td>
<td></td>
</tr>
<tr>
<td height="29"></td>
<td> </td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="23"></td>
<td colspan="2" valign="top"><label>
<div align="left">
<input name="radiobutton" type="radio" value="The original Milo" />
The original Milo </div>
</label></td>
<td></td>
<td valign="top"> <select id="itemTheoriginalMilo" name="select" size="1">
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="10">10</option>
</select></td>
<td></td>
<td></td>
<td colspan="2" valign="top"><div align="center">$ 289.99 </div></td>
<td></td>
</tr>
<tr>
<td height="26"></td>
<td> </td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="22"></td>
<td colspan="2" valign="top"><label>
<div align="left">
<input name="radiobutton" type="radio" value="radiobutton" />
Milo Fuze </div>
</label></td>
<td></td>
<td valign="top"><select id="itemMiloFuze" name="select" size="1">
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="10">10</option>
</select></td>
<td> </td>
<td></td>
<td colspan="2" valign="top"><div align="center">$ 339.99 </div></td>
<td></td>
</tr>
<tr>
<td height="46"></td>
<td> </td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td> </td>
<td> </td>
<td></td>
</tr>
<tr>
<td height="24"></td>
<td> </td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td valign="top"><label>
<input type="submit" name="Submit" value="Estimate" />
</label></td>
<td> </td>
<td></td>
</tr>
<tr>
<td height="112"></td>
<td> </td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td> </td>
<td> </td>
<td></td>
</tr>
</table>
</div>
</form>
</body>
</html>
<html xmlns="http:///1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script type="text/javascript">
function EstimateCalc() {
alert('Estimate calculation to be added here');
return false;
}
</script>
<style type="text/css">
<!--
.style1 {
color: #00FF00;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 36px;
}
-->
</style>
</head>
<body>
<form name="myForm" action="" method="post" onsubmit="return EstimateCalc()">
<div align="center">
<table width="669" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="11" height="41"> </td>
<td width="173"> </td>
<td colspan="4" valign="top"><span class="style1">Price Quotation </span></td>
<td width="10"> </td>
<td width="65"> </td>
<td width="42"> </td>
<td width="44"> </td>
</tr>
<tr>
<td height="15"></td>
<td></td>
<td width="73"></td>
<td width="59"></td>
<td width="64"></td>
<td width="128"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="19"></td>
<td colspan="2" valign="top"><div align="center">Product and Brands </div></td>
<td></td>
<td valign="top"><div align="center">Quantity</div></td>
<td></td>
<td></td>
<td colspan="2" valign="top"><div align="center">Amount Each </div></td>
<td></td>
</tr>
<tr>
<td height="13"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="19"></td>
<td colspan="8" valign="top" bgcolor="#CCCCCC">Nescafe Product </td>
<td></td>
</tr>
<tr>
<td height="22"></td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="22"> </td>
<td colspan="2" valign="top"><label>
<div align="left">
<input type="checkbox" name="checkbox" value="Nescafe Original" />
Nescafe Original</div>
</label></td>
<td> </td>
<td valign="top"><label>
<select id="itemCntNescafeOriginal" name="select" size="1">
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="10">10</option>
</select>
</label></td>
<td> </td>
<td> </td>
<td colspan="2" valign="top"><div align="center">$ 300.00 </div></td>
<td> </td>
</tr>
<tr>
<td height="31"> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="19"></td>
<td colspan="2" rowspan="2" valign="top"><label>
<div align="left">
<input type="checkbox" name="checkbox2" value="checkbox" />
Nescafe Espresso </div>
</label></td>
<td></td>
<td rowspan="2" valign="top"><label>
<select id="itemNescafeEspresso" name="select" size="1">
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="10">10</option>
</select>
</label></td>
<td></td>
<td></td>
<td colspan="2" valign="top"><div align="center">$ 299.99 </div></td>
<td></td>
</tr>
<tr>
<td height="3"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="30"></td>
<td> </td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="19"></td>
<td colspan="8" valign="top" bgcolor="#CCCCCC"><div align="left">MILO Product </div></td>
<td></td>
</tr>
<tr>
<td height="29"></td>
<td> </td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="23"></td>
<td colspan="2" valign="top"><label>
<div align="left">
<input name="radiobutton" type="radio" value="The original Milo" />
The original Milo </div>
</label></td>
<td></td>
<td valign="top"> <select id="itemTheoriginalMilo" name="select" size="1">
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="10">10</option>
</select></td>
<td></td>
<td></td>
<td colspan="2" valign="top"><div align="center">$ 289.99 </div></td>
<td></td>
</tr>
<tr>
<td height="26"></td>
<td> </td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="22"></td>
<td colspan="2" valign="top"><label>
<div align="left">
<input name="radiobutton" type="radio" value="radiobutton" />
Milo Fuze </div>
</label></td>
<td></td>
<td valign="top"><select id="itemMiloFuze" name="select" size="1">
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="10">10</option>
</select></td>
<td> </td>
<td></td>
<td colspan="2" valign="top"><div align="center">$ 339.99 </div></td>
<td></td>
</tr>
<tr>
<td height="46"></td>
<td> </td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td> </td>
<td> </td>
<td></td>
</tr>
<tr>
<td height="24"></td>
<td> </td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td valign="top"><label>
<input type="submit" name="Submit" value="Estimate" />
</label></td>
<td> </td>
<td></td>
</tr>
<tr>
<td height="112"></td>
<td> </td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td> </td>
<td> </td>
<td></td>
</tr>
</table>
</div>
</form>
</body>
</html>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:///TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http:///1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <title>Untitled Document</title>
- <script type="text/javascript">
- function EstimateCalc() {
- alert('Estimate calculation to be added here');
- return false;
- }
- </script>
- <style type="text/css">
- <!--
- .style1 {
- color: #00FF00;
- font-family: Geneva, Arial, Helvetica, sans-serif;
- font-size: 36px;
- }
- -->
- </style>
- </head>
- <body>
- <form name="myForm" action="" method="post" onsubmit="return EstimateCalc()">
- <div align="center">
- <table width="669" border="0" cellpadding="0" cellspacing="0">
- <!--DWLayoutTable-->
- <tr>
- <td width="11" height="41"> </td>
- <td width="173"> </td>
- <td colspan="4" valign="top"><span class="style1">Price Quotation </span></td>
- <td width="10"> </td>
- <td width="65"> </td>
- <td width="42"> </td>
- <td width="44"> </td>
- </tr>
- <tr>
- <td height="15"></td>
- <td></td>
- <td width="73"></td>
- <td width="59"></td>
- <td width="64"></td>
- <td width="128"></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <td height="19"></td>
- <td colspan="2" valign="top"><div align="center">Product and Brands </div></td>
- <td></td>
- <td valign="top"><div align="center">Quantity</div></td>
- <td></td>
- <td></td>
- <td colspan="2" valign="top"><div align="center">Amount Each </div></td>
- <td></td>
- </tr>
- <tr>
- <td height="13"></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <td height="19"></td>
- <td colspan="8" valign="top" bgcolor="#CCCCCC">Nescafe Product </td>
- <td></td>
- </tr>
- <tr>
- <td height="22"></td>
- <td> </td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <td height="22"> </td>
- <td colspan="2" valign="top"><label>
- <div align="left">
- <input type="checkbox" name="checkbox" value="Nescafe Original" />
- Nescafe Original</div>
- </label></td>
- <td> </td>
- <td valign="top"><label>
- <select id="itemCntNescafeOriginal" name="select" size="1">
- <option value="1" selected="selected">1</option>
- <option value="2">2</option>
- <option value="3">3</option>
- <option value="4">4</option>
- <option value="10">10</option>
- </select>
- </label></td>
- <td> </td>
- <td> </td>
- <td colspan="2" valign="top"><div align="center">$ 300.00 </div></td>
- <td> </td>
- </tr>
- <tr>
- <td height="31"> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td height="19"></td>
- <td colspan="2" rowspan="2" valign="top"><label>
- <div align="left">
- <input type="checkbox" name="checkbox2" value="checkbox" />
- Nescafe Espresso </div>
- </label></td>
- <td></td>
- <td rowspan="2" valign="top"><label>
- <select id="itemNescafeEspresso" name="select" size="1">
- <option value="1" selected="selected">1</option>
- <option value="2">2</option>
- <option value="3">3</option>
- <option value="4">4</option>
- <option value="10">10</option>
- </select>
- </label></td>
- <td></td>
- <td></td>
- <td colspan="2" valign="top"><div align="center">$ 299.99 </div></td>
- <td></td>
- </tr>
- <tr>
- <td height="3"></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <td height="30"></td>
- <td> </td>
- <td> </td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <td height="19"></td>
- <td colspan="8" valign="top" bgcolor="#CCCCCC"><div align="left">MILO Product </div></td>
- <td></td>
- </tr>
- <tr>
- <td height="29"></td>
- <td> </td>
- <td> </td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <td height="23"></td>
- <td colspan="2" valign="top"><label>
- <div align="left">
- <input name="radiobutton" type="radio" value="The original Milo" />
- The original Milo </div>
- </label></td>
- <td></td>
- <td valign="top"> <select id="itemTheoriginalMilo" name="select" size="1">
- <option value="1" selected="selected">1</option>
- <option value="2">2</option>
- <option value="3">3</option>
- <option value="4">4</option>
- <option value="10">10</option>
- </select></td>
- <td></td>
- <td></td>
- <td colspan="2" valign="top"><div align="center">$ 289.99 </div></td>
- <td></td>
- </tr>
- <tr>
- <td height="26"></td>
- <td> </td>
- <td> </td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <td height="22"></td>
- <td colspan="2" valign="top"><label>
- <div align="left">
- <input name="radiobutton" type="radio" value="radiobutton" />
- Milo Fuze </div>
- </label></td>
- <td></td>
- <td valign="top"><select id="itemMiloFuze" name="select" size="1">
- <option value="1" selected="selected">1</option>
- <option value="2">2</option>
- <option value="3">3</option>
- <option value="4">4</option>
- <option value="10">10</option>
- </select></td>
- <td> </td>
- <td></td>
- <td colspan="2" valign="top"><div align="center">$ 339.99 </div></td>
- <td></td>
- </tr>
- <tr>
- <td height="46"></td>
- <td> </td>
- <td> </td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td> </td>
- <td> </td>
- <td></td>
- </tr>
- <tr>
- <td height="24"></td>
- <td> </td>
- <td> </td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td valign="top"><label>
- <input type="submit" name="Submit" value="Estimate" />
- </label></td>
- <td> </td>
- <td></td>
- </tr>
- <tr>
- <td height="112"></td>
- <td> </td>
- <td> </td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td> </td>
- <td> </td>
- <td></td>
- </tr>
- </table>
- </div>
- </form>
- </body>
- </html>
- Anonymous
- Bot


- Registrado: 25 Feb 2008
- Mensajes: ?
- Loc: Ozzuland
- Status: Online
Mayo 30th, 2011, 11:59 pm
- WritingBadCode
- Graduate


- Registrado: Abr 28, 2011
- Mensajes: 214
- Loc: Sweden
- Status: Offline
Im nada bueno en javascript, pero aquí es parte del código que puede hacer lo que quiera al menos parcialmente:
No su fantasía y solo un puñado de duplicaciones en el lugar (ya que todavía tengo que entender cómo navegar con nodos). Presentará un cálculo basado en lo que el usuario seleccionado y presentar el resultado como un elemento emergente.
Los valores "Asciende cada uno" son recogidos no sino más bien duro codificados en allí. Probablemente no es una buena cosa.
HM.
Código: [ Select ]
<script type="text/javascript">
function EstimateCalc() {
var results = 0;
var values = document.getElementById("itemCntNescafeOriginal");
var count = values.length;
var checkBox = document.getElementsByName("checkbox");
//checks if Nescafe Original is checked and quantity then multiplies by 300
if (checkBox[0].checked) {
for(var n = 0; n < count; n++) {
if (values.options[n].selected) {
results += parseInt(values.options[n].value) * 300;
}
}
}
var values = document.getElementById("itemNescafeEspresso");
var count = values.length;
var checkBox = document.getElementsByName("checkbox2");
if (checkBox[0].checked) {
for(var n = 0; n < count; n++) {
if (values.options[n].selected) {
results += parseInt(values.options[n].value) * 299.99;
}
}
}
var values = document.getElementById("itemTheoriginalMilo");
var count = values.length;
var radioBox = document.getElementsByName("radiobutton");
if (radioBox[0].checked) {
for(var n = 0; n < count; n++) {
if (values.options[n].selected) {
results += parseInt(values.options[n].value) * 289.99;
}
}
}
else if (radioBox[1].checked) {
var values = document.getElementById("itemMiloFuze");
var count = values.length;
for(var n = 0; n < count; n++) {
if (values.options[n].selected) {
results += parseInt(values.options[n].value) * 339.99;
}
}
}
alert(results + " $");
}
</script>
function EstimateCalc() {
var results = 0;
var values = document.getElementById("itemCntNescafeOriginal");
var count = values.length;
var checkBox = document.getElementsByName("checkbox");
//checks if Nescafe Original is checked and quantity then multiplies by 300
if (checkBox[0].checked) {
for(var n = 0; n < count; n++) {
if (values.options[n].selected) {
results += parseInt(values.options[n].value) * 300;
}
}
}
var values = document.getElementById("itemNescafeEspresso");
var count = values.length;
var checkBox = document.getElementsByName("checkbox2");
if (checkBox[0].checked) {
for(var n = 0; n < count; n++) {
if (values.options[n].selected) {
results += parseInt(values.options[n].value) * 299.99;
}
}
}
var values = document.getElementById("itemTheoriginalMilo");
var count = values.length;
var radioBox = document.getElementsByName("radiobutton");
if (radioBox[0].checked) {
for(var n = 0; n < count; n++) {
if (values.options[n].selected) {
results += parseInt(values.options[n].value) * 289.99;
}
}
}
else if (radioBox[1].checked) {
var values = document.getElementById("itemMiloFuze");
var count = values.length;
for(var n = 0; n < count; n++) {
if (values.options[n].selected) {
results += parseInt(values.options[n].value) * 339.99;
}
}
}
alert(results + " $");
}
</script>
- <script type="text/javascript">
- function EstimateCalc() {
- var results = 0;
- var values = document.getElementById("itemCntNescafeOriginal");
- var count = values.length;
- var checkBox = document.getElementsByName("checkbox");
- //checks if Nescafe Original is checked and quantity then multiplies by 300
- if (checkBox[0].checked) {
- for(var n = 0; n < count; n++) {
- if (values.options[n].selected) {
- results += parseInt(values.options[n].value) * 300;
- }
- }
- }
- var values = document.getElementById("itemNescafeEspresso");
- var count = values.length;
- var checkBox = document.getElementsByName("checkbox2");
- if (checkBox[0].checked) {
- for(var n = 0; n < count; n++) {
- if (values.options[n].selected) {
- results += parseInt(values.options[n].value) * 299.99;
- }
- }
- }
- var values = document.getElementById("itemTheoriginalMilo");
- var count = values.length;
- var radioBox = document.getElementsByName("radiobutton");
- if (radioBox[0].checked) {
- for(var n = 0; n < count; n++) {
- if (values.options[n].selected) {
- results += parseInt(values.options[n].value) * 289.99;
- }
- }
- }
- else if (radioBox[1].checked) {
- var values = document.getElementById("itemMiloFuze");
- var count = values.length;
- for(var n = 0; n < count; n++) {
- if (values.options[n].selected) {
- results += parseInt(values.options[n].value) * 339.99;
- }
- }
- }
- alert(results + " $");
- }
- </script>
No su fantasía y solo un puñado de duplicaciones en el lugar (ya que todavía tengo que entender cómo navegar con nodos). Presentará un cálculo basado en lo que el usuario seleccionado y presentar el resultado como un elemento emergente.
Los valores "Asciende cada uno" son recogidos no sino más bien duro codificados en allí. Probablemente no es una buena cosa.
HM.
Página 1 de 1
Para responder a este tema que necesita para ingresar o registrarse. Es gratis.
Publicar Información
- Total de mensajes en este tema: 2 mensajes
- Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 124 invitados
- No puede abrir nuevos temas en este Foro
- No puede responder a temas en este Foro
- No puede editar sus mensajes en este Foro
- No puede borrar sus mensajes en este Foro
- No puede enviar adjuntos en este Foro
