From 1d3baf1ce6a0702dd4a94255ca875d945b7671c5 Mon Sep 17 00:00:00 2001 From: ChineseTony <13206573871@163.com> Date: Sat, 6 Apr 2019 08:57:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/jsp/QueryCurriculum.jsp | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/WebContent/jsp/QueryCurriculum.jsp b/WebContent/jsp/QueryCurriculum.jsp index 7fe3766..570a6fc 100644 --- a/WebContent/jsp/QueryCurriculum.jsp +++ b/WebContent/jsp/QueryCurriculum.jsp @@ -155,6 +155,10 @@ e = e || window.event; var dt = e.dataTransfer; var courseid = dt.getData("id"); + console.log(courseid); + //删除左边课程列表 + var m = document.getElementById(courseid); + m.parentNode.removeChild(m); var total_element = list.lastElementChild; $.ajax({ @@ -292,7 +296,7 @@