I would like to use JQuery to submit my form without reloading the page. How can I do this?
My Form:
<html>
<form method="post" action="submit.php">
<input type="text" name="name"/>
<input type="submit" name="submit" value="submit"/>
</form>
</html>
My PHP:
<?php
$name= $_POST['name'];
echo $name;
?>