2020-05-20 10:04:56 +02:00
|
|
|
function confirma(tit,msg,notxt,yestxt,noact,yesact) {
|
|
|
|
document.getElementById('popupcont').innerHTML='<h2>'+tit+'</h2>'+msg+'<input type="button" value="'+notxt+'" onClick="'+noact+'document.getElementById(\'popup\').style.display=\'none\'"><input type="button" style="margin-top:2px;" value="'+yestxt+'" onClick="'+yesact+'document.getElementById(\'popup\').style.display=\'none\'">';
|
2020-01-08 14:52:20 +01:00
|
|
|
document.getElementById('popup').style.display='table';
|
|
|
|
}
|