How Can I validate form and sending form via ajax to the another php page?
<p>I have this code between <code>&lt;head&gt;&lt;/head&gt;</code></p>

<pre><code>&lt;script&gt;
$(document).ready(function() {
    $("#test1").validate({
        jQuery.extend(jQuery.validator.messages, {
            required: "Bez vyplnění této položky nelze objednávku odeslat!",
            email: "Prosím zadejte platnou e-mailovou adresu!",
            number: "Zadané znaky mohou obsahovat pouze číslice od 0 - 9.",
        });
    });
});
&lt;/script&gt;
</code></pre>

<p>I need to have ajax function validate form and after the validation i want redirect the page to another php file, where will be proceed my another php code. thanks for help </p>
