Código PHP:
Ver original
<img src='../../imagenes/ff.png' style='cursor:pointer;' onclick='Confirmar(".$row['Evalres_id'].")(".$row['Evalres_id'].");' width='17' height='18'></img>
esto lo mando a una function de ajax
Código Javascript:
donde q = me recibe .$row['Evalres_id']. pero b no me recibe nada Ver original
function Eliminar(q,b){ c = document.getElementById('resultados'); ajax = Buscador(); ajax.open("GET","eliminar_preyres.php?q="+q+"&b="+b); ajax.onreadystatechange=function() { if (ajax.readyState == 4) { c.innerHTML = ajax.responseText; } } ajax.send(null) }