Código Javascript
:
Ver original$('img[id=elimina]').on("click",function(){
var id=$(this).attr("name");
var dataString = 'id='+id+'&a=ucc';
if(id.val()>0){
$.ajax({
type: "POST",
url: "retorna.php",
data: dataString,
cache: false,
success: function(html){
if(html){
$("#grid").html(html);
}else{
alert("VV");
}
}
});
}else{
return false;
}
});