this is me using jquery for the first time, and i found the following script
that's working.
But there is a problem on what to do now.

when the required fields are filled correctly, I receive the message that it
is correct... but i would like that the page is redirected, together with
the inputted values to the page where i procees them en get them in my
database...

i tried several things but i seem not te be able resolving this... could
someone give me an assist  
  

$(document).ready(function() 
        {
    // First example
    var formValidator1 = new ValidatorClass();
        formValidator1.init
                (
                        {
                form: "#klant",
                errorColors: 
                                {
                        isRequired: 'lightgrey',
                        isEmail:    'yellow',
                        isNumeric:  'green',
                        isInteger:  'blue',
                        hasRegex:   'lightgray'
                                },
                        requiredFieldMsg:   'U vergat een of meerdere velden in 
te geven',
                        emailFieldMsg:      'I campi in giallo devono essere 
email',
                        numericFieldMsg:    'I campi in verde devono contenere 
numeri',
                        integerFieldMsg:    'I campi in blu devono contenere 
valori interi',    
                        isRequired: ['naam', 'voornaam'],
                bindElement: '#c_klant',
                callback: function() 
                                {
                                //begin
                                alert('You have inserted all the required 
fields.'); 
                                //einde
                                }
                         }
                );
      });



the last thing i tried was 
 $(document).ready(function() {

    
$("#klant").submit(function(){
$.post("jquery-ajax-post.php", {
name: $("#naam").val() });
return false;// stop the form send via normal action
});
    });
    

-- 
View this message in context: 
http://www.nabble.com/retrieve-%24_POST-vars-after-submit-tp21755993s27240p21755993.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to