Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

1 vote
2 answers
317 views

JQuery submit() function not submitting HTML form from button triggered in Twiiter-Bootstrap 3 Modal

I am creating an unsubscribe page that contains a form element followed by a twitter-bootstrap 3 modal, currently it is just HTML/JQuery. The modal is triggered when clicking on a button element ...
Chris's user avatar
  • 13
1 vote
1 answer
3k views

Generated <form> inside Bootstrap-Modal needs to have a unique ID

Well, I searched the whole Internet the last days to find a way to attach an unique ID and/or name to a GENERATED form inside a Bootstrap-Modal and I never succeeded... I know I'm making mistakes in ...
Krayen's user avatar
  • 38
0 votes
1 answer
5k views

Reset bootstrap form inside modal

I want to simply clear the fields on a form that exists in a bootstrap modal. I tried this solution by incorporating <button type="reset" class="btn btn-danger">Reset</button> but it ...
adamconkey's user avatar
  • 4,584
5 votes
3 answers
15k views

Prevent bootstrap modal from closing after form submit

I have searched all over the net and did find some solutions but they all used JS or AJAX and helped to an extent only. I am new to PHP and have no clue about AJAX so if someone here could provide me ...
user3463636's user avatar
4 votes
1 answer
5k views

Prevent bootstrap-3 modal from closing when the form has changes

I'm trying to prevent the bootstrap-3 modal from closing without warning when there are changes made to the form inside the modal. However when I listen to the events fired by the modal and return ...
Allard Stijnman's user avatar