Lines 5-16
$(document).ready(function(){
Link Here
|
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 |
let confirmation = 1; |
|
|
9 |
if( confirm_msg ){ |
8 |
if( confirm_msg ){ |
|
|
9 |
let confirmation = confirm( confirm_msg ); |
10 |
if( !confirmation ){ return false; } |
10 |
delete form_data.confirmationMsg; |
11 |
delete form_data.confirmationMsg; |
11 |
confirmation = confirm( confirm_msg ); |
|
|
12 |
} |
12 |
} |
13 |
if( !confirmation ){ return false } |
|
|
14 |
|
13 |
|
15 |
let the_form = $('<form/>'); |
14 |
let the_form = $('<form/>'); |
16 |
if( form_data.method === 'post' ){ |
15 |
if( form_data.method === 'post' ){ |
17 |
- |
|
|