我如何在服务器端的Button Click事件中调用jquery [英] How can i call jquery in Button Click event in server side
问题描述
你好,亲爱的
我想在单击按钮时调用jquery.
使用系统;
使用System.Collections.Generic;
使用System.Linq;
使用System.Web;
使用System.Web.UI;
使用System.Web.UI.WebControls;
公共局部类DynamicUserControl:System.Web.UI.Page
{
受保护的void Page_Load(对象发送者,EventArgs e)
{
}
受保护的void Button1_Click(对象发送者,EventArgs e)
{
// 在这里我想调用jquery函数,请帮助我
}
}
^ ]
Hello dear
i want to call the jquery when i click on a button .
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class DynamicUserControl : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
//Here I want to call jquery function please help me
}
}
http://forum.jquery.com/topic/how-to-call-jquery-function-from-asp-net-code-behind[^]
这篇关于我如何在服务器端的Button Click事件中调用jquery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!