Por lo que no me explico a que se debe esto.
Este es mi html...
Código HTML:
<table style="width: 680px; text-align: left; margin-left: auto; margin-right: auto;" class="grid2" border="0" cellpadding="2" cellspacing="2"> <tbody> <tr> <th width="20"><input name="CHKname" id="CHKname" value="1" onclick="mark()" type="checkbox"></th> <th width="121">Serie</th> <th width="119">Marca</th> <th width="77">Modelo</th> <th width="152">Afiliación</th> <th width="153">Terminal</th> </tr> <form id="ApiCharge" action="/Intranet/Desarrollo/CCTT/installpos.php" method="post"></form> <tr> <td><input name="CHKcarga[]" value="3" onclick="color(this,1)" type="checkbox"></td> <td>745-87458-96</td> <td>Hypercom</td> <td>V-8598</td> <td><input id="mid" onblur="checkmid(this.id,1)" type="text"></td> <td><div id="midresult1"></div></td> </tr> <tr> <td><input name="CHKcarga[]" value="9" onclick="color(this,2)" type="checkbox"></td> <td>1234567</td> <td>Hypercom</td> <td>V-5150</td> <td><input id="mid" onblur="checkmid(this.id,2)" type="text"></td> <td><div id="midresult2"></div></td> </tr> <tr> <td><input name="CHKcarga[]" value="10" onclick="color(this,3)" type="checkbox"></td> <td>1234343</td> <td>Hypercom</td> <td>V-5150</td> <td><input id="mid" onblur="checkmid(this.id,3)" type="text"></td> <td><div id="midresult3"></div></td> </tr> <tr> <td><input name="CHKcarga[]" value="11" onclick="color(this,4)" type="checkbox"></td> <td>12323</td> <td>Hypercom</td> <td>V-8598</td> <td><input id="mid" onblur="checkmid(this.id,4)" type="text"></td> <td><div id="midresult4"></div></td> </tr> <tr> <td><input name="CHKcarga[]" value="13" onclick="color(this,5)" type="checkbox"></td> <td>304-107-995</td> <td>Hypercom</td> <td>V-5150</td> <td><input id="mid" onblur="checkmid(this.id,5)" type="text"></td> <td><div id="midresult5"></div></td> </tr> <tr> <td><input name="CHKcarga[]" value="15" onclick="color(this,6)" type="checkbox"></td> <td>7859-698-587</td> <td>Hypercom</td> <td>V-8598</td> <td><input id="mid" onblur="checkmid(this.id,6)" type="text"></td> <td><div id="midresult6"></div></td> </tr> <tr> <td><input name="CHKcarga[]" value="4" onclick="color(this,7)" type="checkbox"></td> <td>589-8569-77</td> <td>VeriFone</td> <td>V-5152</td> <td><input id="mid" onblur="checkmid(this.id,7)" type="text"></td> <td><div id="midresult7"></div></td> </tr> <tr> <td><input name="CHKcarga[]" value="5" onclick="color(this,8)" type="checkbox"></td> <td>589-8569-77</td> <td>VeriFone</td> <td>V-5152</td> <td><input id="mid" onblur="checkmid(this.id,8)" type="text"></td> <td><div id="midresult8"></div></td> </tr> <tr> <td><input name="CHKcarga[]" value="6" onclick="color(this,9)" type="checkbox"></td> <td>7859-698-587</td> <td>VeriFone</td> <td>V-5152</td> <td><input id="mid" onblur="checkmid(this.id,9)" type="text"></td> <td><div id="midresult9"></div></td> </tr> <tr> <td><input name="CHKcarga[]" value="12" onclick="color(this,10)" type="checkbox"></td> <td>12323</td> <td>VeriFone</td> <td>V-5152</td> <td><input id="mid" onblur="checkmid(this.id,10)" type="text"></td> <td><div id="midresult10"></div></td> </tr> <tr> <td><input name="CHKcarga[]" value="14" onclick="color(this,11)" type="checkbox"></td> <td>897-9856-987</td> <td>VeriFone</td> <td>V-5152</td> <td><input id="mid" onblur="checkmid(this.id,11)" type="text"></td> <td><div id="midresult11"></div></td> </tr> <tr> <td><input name="CHKcarga[]" value="16" onclick="color(this,12)" type="checkbox"></td> <td>78594-8</td> <td>VeriFone</td> <td>V-5152</td> <td><input id="mid" onblur="checkmid(this.id,12)" type="text"></td> <td><div id="midresult12"></div></td> </tr> </tbody> </table>
Código:
en el archivo midverify.php hago una consulta sencilla a la base de datos...function checkmid(values,row){ info=document.getElementById(values).value; imprime="midresult"+row; xmlhttp=GetXmlHttpObject(); if (xmlhttp==null) { alert ("Su navegador no soporta AJAX!"); return; } var url="midverify.php?param="+info; xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 || xmlhttp.readyState=="complete") { document.getElementById(imprime).innerHTML=xmlhttp.responseText; }else{ document.getElementById(imprime).innerHTML='<img src="images/wait.gif"/>'; } } xmlhttp.open("GET",url,true); xmlhttp.send(null); }
Alguna sugerencia de que puede estar sucediendo??