One: pop-up window a> Two types: . ( "Deletion is irreversible, are you sure you want to delete it?");<br> }<br>}<br>document.onclick = delete_confirm;<br> Delete else { function delete_confirm()