Código PHP:
<table summary="Meeting Results" width="75%" height="2%" border="0" cellpadding="0" cellspacing="1" bordercolor="#B1C3D9" align="center">
<tbody id="lineaPedido" class="fondo" align="center">
<tr>
<td height="18" colspan="9" align="center" background="images/bg.JPG" bgcolor="#E0E0E0" scope="col"><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif" size="2">Pedidos</font></td>
</tr>
<tr>
<th height="18" background="images/bginp.jpg" bgcolor="#E0E0E0" scope="col"><span class="Estilo7">#</span></th>
<th height="14" background="images/bginp.jpg" bgcolor="#E0E0E0" scope="col"><span class="Estilo7" style="text-align:center">PRODUCTO</span></th>
<th background="images/bginp.jpg" bgcolor="#E0E0E0" scope="col"><span class="Estilo7">UDM</span></th>
<th align="center" background="images/bginp.jpg" bgcolor="#E0E0E0" scope="col"><span class="Estilo7">DESCRIPCION</span></th>
<th background="images/bginp.jpg" bgcolor="#E0E0E0" scope="col"><span class="Estilo7">EXISTENCIA</span></th>
<th background="images/bginp.jpg" bgcolor="#E0E0E0" scope="col"><span class="Estilo7">ZONA</span></th>
<th height="14" background="images/bginp.jpg" bgcolor="#E0E0E0" scope="col"><span class="Estilo7">PRECIO</span></th>
<th height="14" background="images/bginp.jpg" bgcolor="#E0E0E0" scope="col"><span class="Estilo7">CANTIDAD</span></th>
<th background="images/bginp.jpg" bgcolor="#E0E0E0" scope="col"><span class="Estilo7">IMPORTE</span></th>
</tr>
<tr>
<!-- En ajax.js de la funcion añadir existe una lista que debe contener todos los campos de esta tabla
--> <th width="20" height="14" background="images/bodyarea-bg.gif" bgcolor="#E0E0E0" scope="col" id="lineaPedido2"><span class="Estilo4 Estilo5 Estilo6">1</span></th>
<th width="50" height="14" background="images/bodyarea-bg.gif" bgcolor="#E0E0E0" scope="col"><input type="text" id="Item" class="input" style="width:57px; height:14px; border-width:0px" onblur="RecuperaDescripcion(this.id,this.value,'Itemno','Uomcode Description','datos_articulo')" maxlength="7"/></th>
<th background="images/bodyarea-bg.gif" bgcolor="#E0E0E0" scope="col" width="70"><div id="datos_udm" style="font-size:14px"></div></th>
<td width="340" align="center" background="images/bodyarea-bg.gif" bgcolor="#E0E0E0" scope="col"><div id="datos_articulo" class="Estilo3" style="font-size:10px; font-weight: bold"></div></td>
<th background="images/bodyarea-bg.gif" bgcolor="#E0E0E0" scope="col" width="100"><div id="datos_ext1" style="font-size:14px"></div></th>
<th background="images/bodyarea-bg.gif" bgcolor="#E0E0E0" scope="col" width="60"><div id="datos_zon1" style="font-size:14px"></div></th>
<td width="70" height="14" valign="middle" background="images/bodyarea-bg.gif" bgcolor="#E0E0E0" scope="col">
<div align="left"><div class="Estilo3" style="font-size:12px">$
<input type="text" id="precio" class="input" style="width:50px; height:14px; text-align:center;border-width:0px" maxlength="15"/>
</div></div></td>
<th width="50" height="14" background="images/bodyarea-bg.gif" bgcolor="#E0E0E0" scope="col"><input type="text" id="cantidad" class="input" style="width:50px; height:14px; text-align:center;border-width:0px" onblur="calculaPrecio(document.getElementById('precio').value,this.value);anadir()" maxlength="7"/></th>
<th background="images/bodyarea-bg.gif" bgcolor="#E0E0E0" scope="col" width="57"><span id="importe" class="Estilo3" style="font-size:11px;"> </span></th>
</tr>
</tbody>
</table>