21/09/2014, 10:58
|
| | Fecha de Ingreso: marzo-2012
Mensajes: 22
Antigüedad: 12 años, 10 meses Puntos: 0 | |
Respuesta: recuperacion de contraseña <?
}
if($_POST[pag]=="lost"){
?>
<script type="text/javascript">
$(function(){
$('#formlost').submit(function () {
url = $("#formlost").attr( 'action' );
var serializedForm = $("#formlost").serialize();
$.post(url, serializedForm,
function(data){
alert(data);
var correcto=data.indexOf('Error');
if (correcto!= -1 ) {
}else{
location.href='./';
}
});
return false;
});
});
</script> |