后台代码:
public string title = "js调用后台属性值";
public void getContent() { return title; }
前台代码:
var title = "<%=getContent()%>"; alert(title);
posted on 2015-06-18 18:04 谢东法 阅读(169) 评论(0) 编辑 收藏 举报