Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/02/2010, 07:45
Avatar de jackson666
jackson666
 
Fecha de Ingreso: noviembre-2009
Ubicación: Buenos Aires, Argentina
Mensajes: 1.971
Antigüedad: 14 años, 6 meses
Puntos: 65
Respuesta: ajax solo recarga cuando quiere

Creo q estas usando jQuery, verdad?
Si es asi, no deberias hacer esto en esta parte?

Código Javascript:
Ver original
  1. $.ajax({
  2.         type: "GET",
  3.         url: "votacion_ajax.php",
  4.         data: "action=votar&cod_usuario="+cod_usuario+"&cod_noticia="+cod_noticia+"&nota="+nota,
  5.         success: function(msg){
  6.             $("txt_voto").html(msg);
  7.         },
  8.         error: function(xho){
  9.             $("txt_voto").html("Error:"+xho.responseText);
  10.         }
  11.     });
__________________
HV Studio
Diseño y desarrollo web