谁帮我看看
protected void txtBigName_TextChanged(object sender, EventArgs e){
}
如何在上面的事件中调用js函数 谁帮帮我三
--------------------编程问答--------------------
--------------------编程问答-------------------- Response.Write("<script language='javascript'>test();</script>");
Page.ClientScript.RegisterStartupScript(this.GetType(), "__post", "<script>Function();</script>");
test() js 函数名
--------------------编程问答-------------------- Page.ClientScript.RegisterStartupScript(Page.GetType(), "", "yourFunv()", true);
其中yourFunv()就是你要调用的js涵数 --------------------编程问答-------------------- 可以注册一下啊
function change()
{
//----
}
--------------------编程问答-------------------- ClientScript.RegisterStartupScript()
//为DropDownList控件的onChange事件绑定js的change()函数
private void Page_Load(object sender, System.EventArgs e)
{
DropDownList.Attributes.Add("onChange", "change();");
}
补充:.NET技术 , ASP.NET