HTML CSS Javascript jQuery AJAX PHP Java MORE
Need a Website Or Web Application Contact : +91 9437911966 (Whatsapp) Note: Paid Service

How to submit form using Javascript

		<!DOCTYPE html>

		<p>Enter data and submit the form.</p>

		<form id="myForm" action="post.php">
		  First name: <input type="text" name="fname"><br>
		  Last name: <input type="text" name="lname"><br><br>
		  <input type="button" onclick="submitForm()" value="Submit form">

		function submitForm() {



Run it yourself