js调用asp.net 后台属性值
时间:2015-06-18 19:40:18
收藏:0
阅读:145
后台代码:
public string title = "js调用后台属性值";
public void getContent()
{
return title;
}
前台代码:
var title = "<%=getContent()%>";
alert(title);
原文:http://www.cnblogs.com/dongnan/p/4586657.html
评论(0)