mstratman / jQuery-Smart-Wizard

flexible jQuery plug-in that gives wizard like interface
http://mstratman.github.com/jQuery-Smart-Wizard/
303 stars 164 forks source link

How send form using AJAX on clicked Finish button? #86

Open lc1000bkycm opened 8 years ago

lc1000bkycm commented 8 years ago

This code not working. I don't know where is mistake?

function onFinishCallback(obj, context) {
        if(validateAllSteps()){
            $.ajax({
                type: "POST",
                url: 'register.php',
                data: $('#trainer-register').serialize(),
                dataType: 'json',
                cache: false,
                success: function(response) 
                {

                }
            }); 

       }
    }