Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/10/2014, 15:40
Avatar de jodatelo
jodatelo
 
Fecha de Ingreso: marzo-2010
Ubicación: Ecuador
Mensajes: 65
Antigüedad: 14 años, 1 mes
Puntos: 1
problemas al enviar valor

Hola, tengo este codigo, funciona hasta el alert osea si recibe el valor "5412" pero de ahi no envia al php... que puede ser
<script language="JavaScript1.2">
$(document).ready(function(){
$("‪#‎make‬").click(function()
{
var title=jQuery('‪#‎sendw‬').val();
alert(title); //ALERT YES
$.ajax({
type:"POST",
url:"soka5.php",
data: {title:title}
});
});
});
</script>
<form method="post" id="form3">
<input id="sendw" type="hidden" value="5412">
<br><br><br><br>
<input type="button" id="make" value="send" />
</form>