In this article we can see about submitting a form using twitter boostrap modal . Twitter bootstrap contains a modal which has responsive features and beautiful CSS styles.
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 .