Here we required two files:
Include Jquery and Bootstrap files in index.html
Form content :
Here modal is referred by div id “form-content” which is basically hidden while loading and the form is referred by class “contact”.
Jquery code :
The below code will submit the form to process.php file and shows the processed results in the “thanks” div .
The below php code will get the values from the form for processing .
» index.html Full code :