Ver Mensaje Individual
  #4 (permalink)  
Antiguo 09/11/2012, 11:32
Avatar de emilio_viguri
emilio_viguri
 
Fecha de Ingreso: junio-2011
Ubicación: Mexico
Mensajes: 116
Antigüedad: 12 años, 10 meses
Puntos: 3
Información Respuesta: ¿Enviara datos por GET usando javaScript múltiples cajas?

Pues ya lo puse como le lo indicaste pero no se si algo este mal y me da como codigo resultante esto pero no funciono

Código HTML:
<table border="1" align="center">
  <tr>
    <th scope="col">#</th>
    <th scope="col">Cantidad</th>
    <th scope="col">&nbsp;</th>
    <th scope="col">Entregados</th>
    <th scope="col">Compra</th>
    <th scope="col">Venta</th>
    <th scope="col">Nota</th>
  </tr>
      <tr>
      <th scope="col">1&nbsp;</th>
      <th scope="col">1</th>
      <th scope="col">
<a href="factura_llenado.php?nfactura=10621&amp;Rrappyd=500&amp;"+document.getElementById('entregar1').value;>#ID1</a>
        <input name="entregar" type="text" id="entregar1" size="2" maxlength="2" />
      </th>
      <th scope="col"></th>
      <th scope="col"></th>
      <th scope="col"></th>
      <th scope="col"></th>
    </tr>
        <tr>
      <th scope="col">2&nbsp;</th>
      <th scope="col">1</th>
      <th scope="col">
<a href="factura_llenado.php?nfactura=10621&amp;Rrappyd=500&amp;"+document.getElementById('entregar2').value;>#ID2</a>
        <input name="entregar" type="text" id="entregar2" size="2" maxlength="2" />
      </th>
      <th scope="col"></th>
      <th scope="col">100.00</th>
      <th scope="col">150.00</th>
      <th scope="col"></th>
    </tr>
        <tr>
      <th scope="col">3&nbsp;</th>
      <th scope="col">1</th>
      <th scope="col">
<a href="factura_llenado.php?nfactura=10621&amp;Rrappyd=500&amp;"+document.getElementById('entregar3').value;>#ID3</a>
        <input name="entregar" type="text" id="entregar3" size="2" maxlength="2" />
      </th>
      <th scope="col"></th>
      <th scope="col"></th>
      <th scope="col"></th>
      <th scope="col"></th>
    </tr>
</table> 
este es mi codigo fuente

Código HTML:
<table border="1" align="center">
  <tr>
    <th scope="col">#</th>
    <th scope="col">Cantidad</th>
    <th scope="col">&nbsp;</th>
    <th scope="col">Entregados</th>
    <th scope="col">Compra</th>
    <th scope="col">Venta</th>
    <th scope="col">Nota</th>
  </tr>
  <?php do { $i++; ?>
    <tr>
      <th scope="col"><?=$i; ?>&nbsp;</th>
      <th scope="col"><?php echo $row_remiciones['cantidad']; ?></th>
      <th scope="col">
<a href="factura_llenado.php?nfactura=<?php echo $_GET['nfactura']; ?>&amp;Rrappyd=<?php echo $colname_remiciones; ?>&amp;"+document.getElementById('entregar<?=$i; ?>').value;>#ID<?=$i; ?></a>
        <input name="entregar" type="text" id="entregar<?=$i; ?>" size="2" maxlength="2" />
      </th>
      <th scope="col"><?php echo $row_remiciones['cantidadentregada']; ?></th>
      <th scope="col"><?php echo $row_remiciones['compra']; ?></th>
      <th scope="col"><?php echo $row_remiciones['venta']; ?></th>
      <th scope="col"><?php echo $row_remiciones['nota']; ?></th>
    </tr>
    <?php } while ($row_remiciones = mysql_fetch_assoc($remiciones)); ?>
</table>