課程
/后端開發(fā)
/Java
/通過自動回復(fù)機(jī)器人學(xué)Mybatis---基礎(chǔ)版
刪除之后彈出提示 有誰實(shí)現(xiàn)了嗎,,能貼一下代碼嗎
2016-11-03
源自:通過自動回復(fù)機(jī)器人學(xué)Mybatis---基礎(chǔ)版 4-5
正在回答
在DeleteServlet ?刪除完跳轉(zhuǎn)時(shí)傳參,request.getRequestDispatcher("/List.action?delteOne=true").forward(request, response);
在 list.jsp 中取值判斷彈框
<%String idDelete = request.getParameter("delteOne");
if(Boolean.parseBoolean(idDelete)){
out.println("<script type='text/javascript'>window.alert('刪除成功');</script>");
}%>
超人93 提問者
回調(diào)的時(shí)候?qū)憘€(gè)alert就可以了啊。
舉報(bào)
微信公眾號自動回復(fù)功能學(xué)習(xí)Mybatis,基礎(chǔ)教程加案例實(shí)戰(zhàn)方式學(xué)習(xí)
2 回答點(diǎn)擊刪除之后出錯(cuò)
2 回答怎么實(shí)現(xiàn)前端提示刪除成功
2 回答JS提示刪除成功;JS實(shí)現(xiàn)檢索條件保留——4.4課后作業(yè)
6 回答查詢之后再刪除,查詢框中保留查詢內(nèi)容
1 回答刪除單條記錄出錯(cuò)?。?!
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2016-11-29
在DeleteServlet ?刪除完跳轉(zhuǎn)時(shí)傳參,request.getRequestDispatcher("/List.action?delteOne=true").forward(request, response);
在 list.jsp 中取值判斷彈框
<%String idDelete = request.getParameter("delteOne");
if(Boolean.parseBoolean(idDelete)){
out.println("<script type='text/javascript'>window.alert('刪除成功');</script>");
}%>
2016-11-05
回調(diào)的時(shí)候?qū)憘€(gè)alert就可以了啊。