I made a simple kontakt-form with some jquery code.
This form and its code is in a single page which i am including to few of the pages in the site using the php include function.
e.g. "<?php include("form.php"); ?>"
The problem is that when the user submits the form or if the form have has errors it refreshes the "parent" page.
How it is possible to prevent the "parent" page from being refreshed?