Hello,
Welcome back again...Keep your fingers ready to type in some codes now...
Welcome back again...Keep your fingers ready to type in some codes now...
Let us create a HTML file and have a form with simply two fields 'firstName' and 'lastName'. We will be doing POST request to post these form data to servoy web service and store them in database.
HTML form contents
<form id="myForm">
<label for="name">First Name:</label>
<input name="firstName" type="text" /><br>
<label for="name">Last Name:</label>
<input name="lastName" type="text" /><br>
<input type="button" value="Submit" onclick="postFormDataToServoy();"/>
</form>
Lets add JQuery to our web page...
<script src="jquery.js"></script>