摘要:
实现功能:通过传入的标记(name)获取该Url(前台得到后台一个数组,该数组通过遍历web.config生成)前台:<script language="javascript" type="text/javascript">function setUrl(name) { var UrlList = <%=UrlList%>; for (var i in UrlList ) { var p =UrlList[i]; if(p.indexOf(name) >= 0) ... 阅读全文