jquery를 사용하여 일정을 제거하고 숨기는 방법을 알려줄 수 있습니까? 사실 jquery 벨로우와 잘 작동하지만 현재 이벤트를 제거하고 있지만 숨기기 만하면됩니다. 제발 나를 위해 수정할 수 있습니까? jquery를 사용하여 제거하고 숨기는 방법?
function delData(id){
if(confirm('Do you really want to delete it ? if yes then click OK and wait for next notification please.. ')){
$.ajax({
type:'POST',
url:'manage_reports.php?action=del&id='+id,
success:function(result){
alert('Sale has been deleted successfully.. Do not refresh your page if you want to keep stay here');
$(control).parents('table').eq(0).remove().hide("table");
}
});
}
};
는
'.hide()'는 선택자를 매개 변수로 사용하지 않습니다. '.hide ("table")'대신'.hide()'를 쓰지 않으시겠습니까? –
감사합니다. @ JeffB, 내 대답을 업데이트 해 주셔서 감사합니다. – Adil
죄송합니다 나를 위해 작동하지 않습니다 :( –