So my jConfirm dialog pops up after the ajax call, even though its present before the ajax call. Anythoughts?
Here is the code snippet -
if(jConfirm("Would you like to send a confirmation email ?")){
sendEmail = 'Y';
}
imsHTTP.ajax({type : "POST", url : url, data : params, async : true, dataType : "json", success : function(jdata,msg){
/*
*****
*/
}