gpt4 book ai didi

javascript - jquery提示标题不显示

转载 作者:行者123 更新时间:2023-11-30 05:42:47 25 4
gpt4 key购买 nike

我正在编写一个带有“确定”按钮的 jquery 提示符,我还需要显示标题,但显然,除了标题,其余部分(内容和按钮)显示正确。这是我试过的代码。

    jQuery.prompt('Sorry! This feature has been disabled. To enable this feature, click <a href="'+baseurl+'aa/bb">here</a>', {
title: 'Manage Feature',
buttons: { "Ok": true }
});

如果我在这段代码中做错了什么,请告诉我错误,以便我可以继续进行其余的工作。

谢谢。

最佳答案

不要使用 prompt use confirm here's a sample

jConfirm('Can you confirm this?', 'Confirmation Dialog', function(r) {
jAlert('Confirmed: ' + r, 'Confirmation Results');
});

了解更多信息 click here

关于javascript - jquery提示标题不显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19804464/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com