1. 程式人生 > >從後臺傳給前臺的url字串值的注意事項

從後臺傳給前臺的url字串值的注意事項

 onclick="javascript:alert('./servicewarranty/ServiceMan.aspx?Area=<%= AreaId.ToString()%>'+'&');showIFrameChildForm('xzwxy','選擇維修員','./servicewarranty/ServiceMan.aspx?Area=<%= AreaId.ToString()%>'+'&',800,500,null) 正確,而下面這樣就得到不Area的值

 onclick="javascript:alert('./servicewarranty/ServiceMan.aspx?Area=<%= AreaId%>'+'&');showIFrameChildForm('xzwxy','選擇維修員','./servicewarranty/ServiceMan.aspx?Area=<%= AreaId)%>'+'&',800,500,null)