This is a migrated thread and some comments may be shown as answers.

ScriptRegister disabled validation jquery

0 Answers 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
bubus
Top achievements
Rank 1
bubus asked on 31 May 2012, 06:04 PM
Good afternoon, I'm working with telerik libraries as libraries add my jquery validationand validation via javascript do not recognize the form.validate, but if I turn off thescriptregister if successfully validated, it is because this behavior or am doing wrong. 
function saveFormDetails(f) {
        var form = $("#testForm");
        //$("#formPlanLabor").validate()
        var sfor = form.serialize();
        form.validate();
        if (form.valid()) {
            var sForm = form.serialize();
            $.post(path + '/PlanLabor/SaveFormDetails/', sForm, function (data) {
                //message.formMessok();
                alert("hola");
            });
        }
        return false;
    }
Tags
General Discussions
Asked by
bubus
Top achievements
Rank 1
Share this question
or