function delOne(bookId){
var sure = window.confirm("确定要删除该项吗?");
if(sure){
window.location.href="${pageContext.request.contextPath}/servlet/DelOneCartItemServlet?bookId="+bookId;
}
}
function delOne(bookID){
var sure=window.confirm("确认删除该项吗?)
if(sure==true){
window.location.href="${pageContext.request.contextPath}/servlet/DeleteCartItemServlet?bookID="+bookID;
}
}
除了bookID 和Id 完全相同 就是不能跑
var sure = window.confirm("确定要删除该项吗?");
if(sure){
window.location.href="${pageContext.request.contextPath}/servlet/DelOneCartItemServlet?bookId="+bookId;
}
}
function delOne(bookID){
var sure=window.confirm("确认删除该项吗?)
if(sure==true){
window.location.href="${pageContext.request.contextPath}/servlet/DeleteCartItemServlet?bookID="+bookID;
}
}
除了bookID 和Id 完全相同 就是不能跑