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

Problema formcheck de mootools en IE9

Estas en el tema de Problema formcheck de mootools en IE9 en el foro de Frameworks JS en Foros del Web. hace días actualice al Internet Explorer 9, resulta que tengo un pequeño sistema de registro estudiantil y no me valida el formcheck de mootools he ...
  #1 (permalink)  
Antiguo 04/10/2010, 09:50
 
Fecha de Ingreso: junio-2009
Mensajes: 21
Antigüedad: 14 años, 10 meses
Puntos: 0
Problema formcheck de mootools en IE9

hace días actualice al Internet Explorer 9, resulta que tengo un pequeño sistema de registro estudiantil y no me valida el formcheck de mootools he investigado un poco pero nada de hecho las web de donde me documente y descargue el js tampoco sirve la validación, sera que tengo que ajustar algo en el ie9 o cambiar el código de la validación

web del autor:
[URL="http://mootools.floor.ch/en/labs/formcheck/forum-registration/"]http://mootools.floor.ch/en/labs/formcheck/forum-registration/[/URL]
Probar con el IE9 a ver si a ustedes les funciona la validación



Mi código por si hay algún error:
Código PHP:
<?php session_start();
include (
'conexionBD/conexion.php');
require_once(
'configuracion.php')
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><?php echo $titulo?></title>
<link href="css/css-diseño.css" rel="stylesheet" type="text/css">
<link href="css/css-form.css" rel="stylesheet" type="text/css">
<link  href="js/formcheck/theme/classic/formcheck.css" rel="stylesheet" type="text/css" >

<script  src="js/formcheck/mootools.js" type="text/javascript"></script>
<script src="js/formcheck/formcheck.js" type="text/javascript"></script>

<script type="text/javascript">
    window.addEvent('domready', function(){
        new FormCheck('formindex');
    });
</script>

<script type="text/javascript" src="js/sexyalert/sexyalertbox.v1.2.moo.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="js/sexyalert/sexyalertbox.css"/>


</head>
<body>
<center>
    <div id="divprincipal">
        <div id="divsuperior"></div><!--fin divsuperior-->
        <div id="divfondoblanco"></div><!--fin divfondoblanco-->
        <div id="divtitulo"></div><!--fin divtitulo-->
        <div id="divfondoblanco">
            <div id="divcontenido">
                <img src="img/linea.png"><br><br> 
                
                <?php if (!$_POST){ ?>  
                
                    <form  name="formindex" method="post" action="" id="formindex">
                      <label>Usuario:</label> <input type="text" name="usuario"id="input" class="validate['required']"><br><br>
                      <label>Clave:</label> <input type="password" name="clave" id="input" class="validate['required']"><br>
                      <br>                                  
                      <center><input type="submit" name="boton" value="Entrar" class="boton" /></center><br><br>  
                    </form>
                
                <?php }else{
                          
$link conexion();
                        
$usuario $_POST['usuario'];
                        
$clave $_POST['clave'];
                        
$clave md5($clave);

                        
$consulta "SELECT * FROM usuarios WHERE usuario='$usuario' AND clave='$clave'";
                        
$resultado mysql_query$consulta$link ) or die( mysql_error() );
                        
$datos mysql_fetch_array($resultado);

                        if((
$datos['usuario']!= $usuario) or ($datos['clave']!= $clave)) //Validacion de Usuario
                        
{
                            echo 
'<script>window.addEvent("domready", function() { Sexy.alert("<h2>::: ERROR DE ACCESO ::::</h2><br> - Usuario no Registrado <br>- ó Clave Incorrecta",{ onComplete: function(returnvalue) { if (returnvalue) { window.location.href= "index.php";  }}}); return false;});</script>';
                            
                            
                            echo 
"<center><br><br>";
                            echo 
"<img src='img/30.gif'><br><br>";
                            echo 
"</center>";
                            
                        }else
                        {
                            
$_SESSION['usuario'] = $datos['usuario'];
                            
$_SESSION['estado'] = 'Autenticado';
                            
$_SESSION['nivel'] = $datos['nivel'];
                            echo 
'<script language="JavaScript">window.self.location="principal.php"; </script>';
                        }
//fin else Validacion de Usuario
                      
//fin else $_POST
                     
?>
               <img src="img/linea.png"><br><br>
            </div><!--fin divcontenido-->
        </div><!--fin divfondoblanco-->
        <div id="divinferior"></div><!--fin divinferior-->
    </div> <!--fin divprincipal-->
</center>                    
       

</body>
</html>
  #2 (permalink)  
Antiguo 04/10/2010, 10:16
Avatar de caricatos
Moderador
 
Fecha de Ingreso: abril-2002
Ubicación: Torremolinos (Málaga)
Mensajes: 19.607
Antigüedad: 22 años
Puntos: 1284
Tema movido desde javascript
__________________
Por favor:
No hagan preguntas de temas de foros en mensajes privados... no las respondo

Etiquetas: mootools
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 00:50.