モーダル内に送信ボタンがあり、それを押しても何も起こりません。送信ボタンを押したときにフォームを送信するにはどうすればよいですか?$('form')。submit();を使いたくない なぜなら、phpは私のボタンがクリックされたことを検出しないからです。
<script type="text/javascript" language="javascript">
$(document).ready(function () {
$('#btnAdd').click(function (e) {
//clicking the button shows the modal popup up
e.preventDefault();
$('#AddCareerItem').modal();
});
$('#btnCancelCareerContent').click(function (e) {
//close the modal with the cancel button
$.modal.close();
});
});
</script>