且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从后面的代码设置javascript变量的值(C#)

更新时间:2023-02-11 22:29:35

代码背后:

ScriptManager.RegisterStartupScript(this, this.GetType(), "", "urFunction('urValHere');", true);

function urFunction(urParam) {
        //do what u want here
        //use urParam
    }