I use the form plugin $(document).ready(function() { var options = { target: '#divShow', beforeSubmit: showRequest, success: showResponse }; $('#myForm').ajaxForm(options); });
This works, but in the form php file, I'm trying a redirection but the page redirected displays in #divShow. How can I do to redirect to the page not to be displayed in the div? <?php header("Location: http://localhost/"); ?> Thanks