|
Lines 4-16
$(document).ready(function () {
Link Here
|
| 4 |
e.preventDefault(); |
4 |
e.preventDefault(); |
| 5 |
let form_data = $(this).data(); |
5 |
let form_data = $(this).data(); |
| 6 |
|
6 |
|
| 7 |
let confirm_msg = form_data.confirmationMsg; |
7 |
let confirm_msg = form_data.confirmationmsg; |
| 8 |
if (confirm_msg) { |
8 |
if (confirm_msg) { |
| 9 |
let confirmation = confirm(confirm_msg); |
9 |
let confirmation = confirm(confirm_msg); |
| 10 |
if (!confirmation) { |
10 |
if (!confirmation) { |
| 11 |
return false; |
11 |
return false; |
| 12 |
} |
12 |
} |
| 13 |
delete form_data.confirmationMsg; |
13 |
delete form_data.confirmationmsg; |
| 14 |
} |
14 |
} |
| 15 |
|
15 |
|
| 16 |
let the_form = $("<form/>"); |
16 |
let the_form = $("<form/>"); |
| 17 |
- |
|
|