gpt4 book ai didi

c# - 来自 C# 的 sexy.alert

转载 作者:行者123 更新时间:2023-11-28 01:46:24 25 4
gpt4 key购买 nike

我正在使用名为 sexyAlertBox ( http://www.coders.me/ejemplos/sexy-alert-box/ ) 的 jQuery 插件

正在运行:<input type="button" id="btnHello" onclick="Sexy.alert('Hello!');" />

但是我也需要从代码隐藏文件中调用这个函数。通常我用这个:

    protected void btnError_Click(object sender, EventArgs e)
{
ClientScript.RegisterStartupScript(this.GetType(), "miscript", "alert('This is an alert from a postback!');", true);
}

但无法使用 sexy.alert 函数。

有什么想法吗?谢谢。

最佳答案

请不要使用该插件。只需选择 Bootstrap .

关于c# - 来自 C# 的 sexy.alert,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20251545/

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