I dont know why but with validate code my js dont run anything =/
even though a simple alert
I´m trying with IE6, FF works fine!

Is somebody with the same problem??

$(document).ready(
function()
{
        $("#validando").hide();
        $("#Responder").bind('click', function(){       
                var old_title = document.title;
                document.title = "Validando...";
                mostraMSG("validando"); 
                
                $("#envia_quest").validate({
                        errorClass: "error_valida",
                        errorElement: "em",
                        errorPlacement: function(error, element) {
                           error.appendTo( 
element.parents("ul").find("li.aki_erro") );
                        },
                });//fim validate       
                escondeMSG("validando");
                document.title = old_title;                     
        });     
        
        escondeMSG("carregando");
});
function mostraMSG(container) {         
        $("#total").hide();
        $("#"+container).show();
}
function escondeMSG(container) {
        $("#"+container).hide();                
        $("#total").show();
}

-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com

Reply via email to