1
0
انشعاب 0
MastodonStartpage/web/mustard/js/confirma.js
pezcurrel 85876775c4 ...
2020-05-07 07:24:56 +02:00

4 خطوط
398 B
JavaScript

function confirma(msg,act) {
document.getElementById('popupcont').innerHTML='<h2>Attenzione</h2>'+msg+'<input type="button" value="No" onClick="document.getElementById(\'popup\').style.display=\'none\'"><input type="button" style="margin-top:2px;" value="Si" onClick="'+act+';document.getElementById(\'popup\').style.display=\'none\'">';
document.getElementById('popup').style.display='table';
}