After the value is passed by JBox, the button is clicked and the event is not returned.

function vsalert(message,title,callback){
    var content = {  
        title:title || "",
        content: message,  
        buttons: { "": 0},  
        buttonsFocus: 0,  
        submit: function (value, h, form) {  
            if (value == 0) {  
                if(callback && typeof callback=="function"){
                    callback.call(this);
                }
                return true; // close the window  
            }
        }
    };
    jBox("<div style="padding:10px">"+message+"</div>",content);
}

as in the above code, I don"t see the problem

Apr.13,2021
Menu