javascript-confirm
var x;
var r=confirm("Create Entries Create Entries will generate payroll entries according to the settings and parameters off the current payroll. Continue ? ");
if (r==true){x="You pressed OK!";}
else {x="You pressed Cancel!";}
document.getElementById("demo").innerHTML=x;
沒有留言:
張貼留言