<?php 
$i = $_POST['row'];
?>
<tr>
	<td><?php echo $i+1?></td>

	<td>
    	<input type="text" id="pm<?php echo $i?>" class="input" value="<?php echo $pmdesc?>" 
        autocomplete="off" style="width:100%" onfocus="pm_auto_complete('<?php echo $i?>')" onblur="get_ums('<?php echo $i?>')">
        <input type="hidden" id="pm_autoid<?php echo $i?>"  autocomplete="off" name="pm_autoid<?php echo $i?>" value="<?php echo $rsd['pm_autoid']?>">
    </td>
    <td>
    	<input type="text" class="input tr" onkeyup="calc_cb()" id="qty<?php echo $i?>" value="<?php echo $qty?>"
         name="qty<?php echo $i?>" onkeydown="chk_coa('<?php echo $i?>')" style="width:100%" autocomplete="off">
    </td>
    <td class="tc">KG</td>
    <td>
    	<input readonly="readonly" class="input tr" onkeyup="calc_cb()" id="pm_bprice<?php echo $i?>" value="<?php echo $qty?>"
         name="pm_bprice<?php echo $i?>" style="width:100%" autocomplete="off">
    </td>

    <td>
    	<input readonly="readonly" class="input tr" onkeyup="calc_cb()" id="subtotal<?php echo $i?>" value="<?php echo $qty?>"
         name="subtotal<?php echo $i?>" style="width:100%" autocomplete="off" onblur="chk_field('<?php echo $i?>')">
    </td>

</tr>