I have a form in my index.html that looks like this:
index.html
. . . .
you can also make your action like this:
action
and in your send.php you can do this:
send.php
if(isset($_GET['postData'])){ postData(); }