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"> </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 </th>
<th scope="col">1</th>
<th scope="col">
<a href="factura_llenado.php?nfactura=10621&Rrappyd=500&"+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 </th>
<th scope="col">1</th>
<th scope="col">
<a href="factura_llenado.php?nfactura=10621&Rrappyd=500&"+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 </th>
<th scope="col">1</th>
<th scope="col">
<a href="factura_llenado.php?nfactura=10621&Rrappyd=500&"+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"> </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; ?> </th>
<th scope="col"><?php echo $row_remiciones['cantidad']; ?></th>
<th scope="col">
<a href="factura_llenado.php?nfactura=<?php echo $_GET['nfactura']; ?>&Rrappyd=<?php echo $colname_remiciones; ?>&"+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>