Creo q estas usando jQuery, verdad?
Si es asi, no deberias hacer esto en esta parte?    
Código Javascript
:
Ver original- $.ajax({ 
-         type: "GET", 
-         url: "votacion_ajax.php", 
-         data: "action=votar&cod_usuario="+cod_usuario+"&cod_noticia="+cod_noticia+"¬a="+nota, 
-         success: function(msg){ 
-             $("txt_voto").html(msg); 
-         },  
-         error: function(xho){ 
-             $("txt_voto").html("Error:"+xho.responseText); 
-         } 
-     });