前台方法:
<script type="text/jscript">
var k = "test";
var s = '<%=ShowMsg(" ' + k + ' ")%>';
alert(s);
</script>
后台方法:
public string ShowMsg(string msg)
{
return msg;
}
2022-09-26 18:26:51
前台方法:
<script type="text/jscript">
var k = "test";
var s = '<%=ShowMsg(" ' + k + ' ")%>';
alert(s);
</script>
后台方法:
public string ShowMsg(string msg)
{
return msg;
}