Foros del Web » Programando para Internet » Javascript » Frameworks JS »

Tengo error Caracteres extraños en GET resultado

Estas en el tema de Tengo error Caracteres extraños en GET resultado en el foro de Frameworks JS en Foros del Web. hi again i got this error : Tengo este error : When i sending the word in accion javascript send this instead of the word ...
  #1 (permalink)  
Antiguo 19/04/2011, 16:10
(Desactivado)
 
Fecha de Ingreso: enero-2011
Mensajes: 293
Antigüedad: 13 años, 3 meses
Puntos: 4
Pregunta Tengo error Caracteres extraños en GET resultado

hi again i got this error :

Tengo este error :

When i sending the word in accion javascript send this instead of the word

Manda esto en vez de la palabra.

Cita:
unction (D,E){return new n.fn.init(D,E)}



Código HTML:


( function gusta(gusta_message){
        $('#fo3').bind('click', function() {

			
	if(gusta_message==undefined){
		alert("Error: error gusta_message");
		return;
	}
	
	

	$.ajax({

type: "GET",
url: "envio.php",
data: "gusta="+gusta_message,

success: function(msg){

			document.getElementById("fo3").innerHTML = "correcto!!!"+msg;
		}, 

	error: function(envio){
			document.getElementById("fo3").innerHTML = "Error:"+envio.responseText;
		}
		
	});



					
					
					
          return false;
        });
    })

		
		
		
		
})  




<a  id="fo3" name="fo3" href="javascript:gusta('gusta_message')" >Click mi</a>


Etiquetas: caracteres, extraños, resultados
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 13:32.