<a href="EditForm.aspx?ID=<%Response.Write(Page.Request["ID"]);%>&Source=http%3A%2F%2Fwindow.location.host;%%2FLists%2FList2%2FAllItems%2Easpx">编辑</a>
说明=<%Response.Write(Page.Request["ID"]);%>后台编译获取参数
window.location.host;直接获取计算机名
<a href="EditForm.aspx?ID=<%Response.Write(Page.Request["ID"]);%>&Source=http%3A%2F%2Fwindow.location.host;%%2FLists%2FList2%2FAllItems%2Easpx">编辑</a>
说明=<%Response.Write(Page.Request["ID"]);%>后台编译获取参数
window.location.host;直接获取计算机名
转载于:https://www.cnblogs.com/914556495wxkj/p/3601144.html