I need help to use jConfirm with this existing code (php & Jquery & jAlert).
function logout()
{
if (confirm("Do you really want to logout?"))
window.location.href = "logout.php";
}
If I just change confirm to jConfirm this not enough to make it work...
Thanks for your help
Lena
EDIT for comments:
When I saw the script better, it would be desirable to remove the variable "$_sidId" from "if", no matter the response, it would have to clean up the variable.