http://127.0.0.1:8080/jspews/pews/inspection/InspectCheckCard.jsp?checkDate=2015-03-31
传递的值: checkDate=2015-03-31
JS:
1、
var checkDate='<%=checkDate%>'; //赋值给checkDate
注意:'<%=checkDate%>' 要带引号
2、
或者直接使用
ddv.datagrid({url:'inspectcheck!pageCardDetail.action?checkDate=<%=checkDate%>&checkIP='+row.deviceIp})