In Safari Browser having one issue, following are my scenarios (with Example).
When i Click a button for delete an account on that time i opens alert message. in that alert window having two actions "OK" and "Cancel". if i click Yes it will redirect to another URL.(This is No Problem). But When i click "Cancel", i triggering to open another alert window. on that time previous alert not getting closed.
In Other Browsers like I.E, Firefox, Chrome it working fine.
Below is my Coding....
$('#upgradeNo').click(function(){ // Function
$('#accountFrame').hide('fast'); // To close the alert window( First alert)
$.modal.close(); // To close the alert window( First alert)
if( $("#deleteconf").val()=="ok"){ // Click Yes Button Function
deleteAcc();
}else{ // Click Cancel Button Function
$("#accountFrame").css('display','none');
deactivateAccount(); // new Alert gets open in this place
}
$("#deleteconf").val('');
});
Can anybody give me a quick solution. Awaiting for Response.
Thanks