Jquery ui confirmation dialog box in CF7
-
Hi,
How to used jquery ui confirmation dialog box on form submit in Contact form 7 plugin
on form submit open dialog box for confirmation
my code on click submit button
is simpale js confirmation code is working
$("#confirmation_before_submit").click(function(){ var confirm_get = confirm("Upon Review of your documents and pay of your invoice, you will receive your itinerary."); if(confirm_get === true){ return true; }else{ return false; } });
is jquery ui dialog modal confirmation code is not working
$('<div id="dvConfirmModal"></div>').appendTo('body') .html("<p>Upon Review of your documents and pay of your invoice, you will receive your itinerary.</p>") .dialog({ modal: true, title: 'Confirmation', zIndex: 10000, autoOpen: true, width: 'auto', resizable: false, draggable: false, buttons: { Ok: function(){ $(this).dialog('close'); return true; }, Cancel: function(){ $(this).dialog("close"); return false; } }, close: function(event, ui) { $(this).remove(); } }); });
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Jquery ui confirmation dialog box in CF7’ is closed to new replies.