Correct syntax for $.post() method is code example
Example: posting with forms html
<form method="POST" action="INSERT WHERE YOU'RE SENDING THE DATA TO HERE">
<input type="text" name="INSERT DATA KEY NAME HERE"> <!-- You don't have to have this line -->
</form>