I know this is kind of silly but I am getting confused and don't know where to add the OnSubmit function which is supposed to open the SaveEvent.php file (its in the www directory). As of now the code doesn't work. As in nothing happens when I click the submit button.
<body>
<form action="SaveEvent.php" method="post" target="hiddenFrame">
EventID: <input type="text" name="EventID" />
<br />
EventName: <input type="text" name="EventName" />
<br />
EventVenue: <input type="text" name="EventVenue" />
<br />
EventFrom: <input type="text" name="EventFrom"/>
EventTo: <input type="text" name="EventTo"/>
<br />
<input type="submit" onSubmit="SaveEvent.php" />
</form>