삭제버튼 수정

This commit is contained in:
JSYOO 2021-12-01 15:34:47 +09:00
parent c35b2bc0b6
commit eff4c311fa

View File

@ -100,7 +100,7 @@ $(document).ready(function() {
depth1 = $(this).parents('.depth2').siblings('.depth1-check').find('label').text();
depth2 = $("label[for='"+$(this).attr('id')+"']").text();
html = "<li><button type=\"button\" onclick=\"function('');\" title=\"삭제\" name=\""+ $(this).attr('id') +"\">" + depth1 + "<span class=\"sign\"> > </span><button class=\"del\">삭제</button>"+ depth2 +"</button></li>"
html = "<li><button type=\"button\" onclick=\"function('');\" title=\"삭제\" name=\""+ $(this).attr('id') +"\">" + depth1 + "<span class=\"sign\"> > </span><input type=\"button\" class=\"del\" value=\"삭제\">"+ depth2 +"</button></li>"
$(this).parents('.depth2').siblings('.depth1-check').find('input').prop('checked', true);
$(this).parents('.conditions-box').siblings('.selected-conditions').find('.conditions').append(html);