- Hot! Ngày Hội Trả Giá - Mua Khoá Học Theo Giá Bạn Muốn (Từ 14-16/08/2024)|Tuyensinh247.com
- 2K8! Bứt Phá Lớp 11 2025! Học online trực tuyến lớp 11 Chương trình mới (VOD+LIVE)|Tuyensinh247.com
- 2K7! Lộ trình Sun 2025 - Học online trực tuyến lớp 12 - Luyện Thi TN THPT - ĐGNL - ĐGTD|Tuyensinh247.com
- 2K9! Bứt Phá Lớp 10! Học online trực tuyến lớp 10! Chương Trình Mới (VOD + LIVE)|Tuyensinh247.com
- 2K10! Học online trực tuyến lớp 9 và ôn thi vào 10 năm 2024-2025 | Tuyensinh247.com
- Khoá học online trực tuyến cấp THCS năm học 2024 - 2025 | Tuyensinh247.com
- Khoá học online trực tuyến cấp Tiểu học năm học 2024-2025 | Tuyensinh247.com
- Khoá học online trực tuyến cấp Tiểu học và THCS năm học 2024-2025 | Tuyensinh247.com
- 2K14! Khoá học online trực tuyến lớp 5 năm học 2024-2025 | Tuyensinh247.com
- 2K6! Thi thử Miễn Phí TN THPT 2024
- Tuyensinh247 giải nóng đề thi vào lớp 10 năm 2024 - Tất cả các tỉnh
- 2K11 Ơi! Bứt Phá Lớp 7 Năm Học 2023 - 2024
- 2K12! Bứt Phá Lớp 6 Năm Học 2023 - 2024
- Chương Trình Học Tốt Trung Học Cơ Sở Năm Học 2023-2024
- Lộ Trình Học Bứt Phá Lớp 2-9 Năm Học 2023-2024
- 2K7! Bứt Phá Lớp 11 2024! Chương trình mới (VOD + LIVE)
- 2K10! Bứt Phá Lớp 8 Năm Học 2023 - 2024
- 2K8! Bứt phá lớp 10! Chương trình mới (VOD + LIVE)
- Chương trình học tốt tiểu học năm học 2023-2024
- 2K13! Bứt Phá Lớp 5 Năm Học 2023 - 2024
- 2K14! Bứt Phá Lớp 4 Năm Học 2023 - 2024
- 2K15! Bứt Phá Lớp 3 Năm Học 2023 - 2024
- 2K16! Bứt Phá Lớp 2 Năm Học 2023 - 2024
- 2K6! Lộ Trình Sun 2024 - Ba bước luyện thi TN THPT - ĐH ít nhất 25 điểm
- Học trực tuyến lớp 11 đủ môn cùng Thầy Cô giỏi, nổi tiếng
- Khai giảng các khóa lớp 9 Toán - Lý - Hóa - Văn - Anh năm 2018
- Khai giảng khóa Ngữ văn 7 - xây nền vững chắc cho tương lai!
- Luyện thi vào lớp 10 môn Toán, Văn, Hóa, Anh, Lý với giáo viên giỏi và nổi tiếng
'; $("#alert_popup_dialog").html(innerHtml); } else { //Chua co the div alert_popup_dialog var html = '
'; $("#container").append(html); } } function displayMessage(title, msg) { makeDialog(title, msg); $("#alert_popup_dialog").show(); } function openNewWindow(url) { window.open(url, "", 'directories=yes,titlebar=yes,toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes'); } function submitForm() { $("#submitResultForm").submit(); } function checkOption(question_id, display_answer) { var number_answer = $("input[name ^='question_']:checked").length; $("#number_answer").html(number_answer); var answer_choice = $("input[name ^='question_" + question_id + "']:checked").val(); $.ajax({ url: '/ajaxQuestion/checkQuestion', type: "post", data: ({ question_id: question_id, answer_choice: answer_choice }), success: function(resp) { var data = jQuery.parseJSON(resp); if (data.success) { var answer = data.answer; $("input[name ='question_" + question_id + "']").attr('readonly', true); $("input[name ='question_" + question_id + "']").attr('onclick', ''); $("input[name ='question_" + question_id + "']").click(function() { return false; }); var point = data.point; if (answer === answer_choice) { displayPointNotification(point, question_id, true); $("#quickview_" + question_id).addClass("listgreen"); } else { displayPointNotification(point, question_id, false); $("#quickview_" + question_id).addClass("listred"); } if (display_answer === 1) { $("#p_question_" + question_id + "_" + answer_choice).attr('class', 'mab5 clred'); $("#p_question_" + question_id + "_" + answer).attr('class', 'mab5 clblue'); // $("input[name ='question_" + question_id + "']").attr('disabled', true); viewAnswer(question_id, 1); // $('#viewAnswer_link_' + question_id).click(); } } else { displayMessage('Thông báo', data.error); } } }); } function updateData(question_id) { $("#save_link_" + question_id).html(''); $("#save_link_" + question_id).html('Đã lưu'); $("#save_link_" + question_id).attr('class', 'save s12'); } var open_close_state = {}; function viewAnswer(question_id, with_short_answer) { var answer_choice = $("input[name ^='question_" + question_id + "']:checked").val(); if (answer_choice === undefined) { alert('Bạn cần trả lời câu hỏi để xem lời giải'); return; } if (open_close_state[question_id] === undefined) { open_close_state[question_id] = false; } if (open_close_state[question_id]) { $('#detail_answer_' + question_id).hide(); $('#viewAnswer_link_' + question_id).html('Xem đáp án'); open_close_state[question_id] = false; } else { var answer_choice = $("input[name ^='question_" + question_id + "']:checked").val(); $.ajax({ url: '/ajaxQuestion/getAnswer', type: "POST", data: ({ question_id: question_id, answer_choice: answer_choice, with_short_answer: with_short_answer, }), success: function(resp) { $('#detail_answer_' + question_id).show(); $('#detail_answer_' + question_id).html(resp); $('#viewAnswer_link_' + question_id).html('Ẩn đáp án'); MathJax.Hub.Queue(["Typeset", MathJax.Hub, 'detail_answer_' + question_id]); open_close_state[question_id] = true; } }); } } function viewTextQuestionAnswer(question_id) { if (open_close_state[question_id] === undefined) { open_close_state[question_id] = false; } if (open_close_state[question_id]) { $('#detail_answer_' + question_id).hide(); $('#viewAnswer_link_' + question_id).html('Xem đáp án'); open_close_state[question_id] = false; $('#short_answer_' + question_id).show(); } else { $.ajax({ url: '/ajaxQuestion/getTextAnswer', type: "POST", data: ({ question_id: question_id }), success: function(resp) { $('#detail_answer_' + question_id).show(); $('#detail_answer_' + question_id).html(resp); $('#viewAnswer_link_' + question_id).html('Ẩn đáp án'); open_close_state[question_id] = true; MathJax.Hub.Queue(["Typeset", MathJax.Hub, 'detail_answer_' + question_id]) $('#short_answer_' + question_id).hide(); } }); } } function toggleAnswerForm(question_id, is_text) { if (is_text) { $("#form_answer_text_" + question_id).show(); $("#form_answer_img_" + question_id).hide(); $("#q_" + question_id + "_tab_text").attr('class', 'active'); $("#q_" + question_id + "_tab_img").attr('class', ''); $("#answer_type_" + question_id).val(1); } else { $("#form_answer_text_" + question_id).hide(); $("#form_answer_img_" + question_id).show(); $("#q_" + question_id + "_tab_text").attr('class', ''); $("#q_" + question_id + "_tab_img").attr('class', 'active'); $("#answer_type_" + question_id).val(2); } } function browseFile(question_id) { $("#file_upload_" + question_id).click(); // selectAndUploadFile(question_id); } function selectAndUploadFile(question_id) { var fileSelect = $("#file_upload_" + question_id)[0]; var files = fileSelect.files; var formData = new FormData(); for (var i = 0; i < files.length; i++) { var file = files[i]; // Check the file type. if ((!file.type.match('image.*')) || (!file.type.match('image/*'))) { continue; } // Add the file to the request. formData.append('file_upload_' + question_id, file, file.name); formData.append('question_id', question_id); var xhr = new XMLHttpRequest(); // xhr.open('POST', '/upload_thionline.php', true); xhr.open('POST', '/ajaxQuestion/uploadImg', true); xhr.onload = function() { if (xhr.status === 200) { var data = jQuery.parseJSON(xhr.responseText); if (data !== null) { if (data.success) { var path = data.path; onUploadImgSuccess(question_id, path); } else { displayMessage('Có lỗi xảy ra', data.error); onUploadImgFailed(question_id); } } } else { displayMessage('Có lỗi xảy ra', 'Có lỗi xảy ra khi upload file,vui lòng thực hiện upload lại file!'); // alert(xhr.responseText); } }; addLoadingThumbnail(question_id); xhr.send(formData); } } function addLoadingThumbnail(question_id) { var html = "
"; html += "
"; html += ""; html += "
"; html += "
"; html += "
"; $("#add_file_" + question_id).before(html); } function onUploadImgSuccess(question_id, path) { $("#add_file_" + question_id).prev().remove(); var html = "
"; html += "
"; html += "
"; $("#add_file_" + question_id).before(html); $('#del_link_' + question_id).live("click", function($e) { alert("xxx"); }); updateAnswerImgParam(question_id); } function onUploadImgFailed(question_id) { $("#add_file_" + question_id).prev().remove(); } function updateAnswerImgParam(question_id) { var value = ""; $('#form_answer_img_' + question_id + ' img').each(function(index) { if (value !== "") { value += ";"; } value += $(this).attr("src"); }); $("#answer_img_" + question_id).val(value); } function removeUploadedFile(question_id) { alert(question_id); $(this).closest('.fbGridItem').remove(); updateAnswerImgParam(question_id); } function toggleWriteAnswer(question_id, mode) { if (mode === undefined) { $('#div_answer_text_' + question_id).show(); } if (mode) { $('#div_answer_text_' + question_id).show(); } else { $('#div_answer_text_' + question_id).hide(); } } //Luu lời giải thành viên trong đó type: 1: text, 2: ảnh function submitAnswerMemner(question_id, type) { var text = ""; if (type === 1) { text = $("#answer_text_" + question_id).val(); } if (type === 2) { updateAnswerImgParam(question_id); text = $("#answer_img_" + question_id).val(); } $.ajax({ url: '/ajaxQuestion/submitAnswerMember', type: "POST", data: ({ question_id: question_id, type: type, text: text }), success: function(resp) { var data = jQuery.parseJSON(resp); if (data !== null) { if (data.success) { toggleWriteAnswer(question_id, false); } else { displayMessage('Có lỗi xảy ra vui lòng gửi lại', data.error); } } } }); } function loadingAjax() { $('body').append('
'); $('#fade1').css({ 'filter': 'alpha(opacity=0.6)' }).fadeIn(); return false; } function closeLoadingAjax() { $('#fade1').fadeOut(function() { $('#fade1').remove(); }); } function voteForVip(question_id, answer_id) { var vote_type = $("input[name ^='vote_vip_type_" + question_id + "']:checked").val(); var comment = $("#vote_vip_comment_" + question_id).val(); if (vote_type) { $.ajax({ url: '/ajaxQuestion/voteForVip', type: "POST", data: ({ answer_id: answer_id, question_id: question_id, comment: comment, vote_type: vote_type }), success: function(resp) { var data = jQuery.parseJSON(resp); if (data !== null) { if (data.success) { $("input[name ='vote_vip_type_" + question_id + "']").attr('disabled', true); $("#vote_vip_comment_" + question_id).attr('disabled', true); $("#vote_vip_btn_" + question_id).attr('disabled', true); $("#vote_vip_link_" + question_id).bind('click', false); displayMessage('Thông báo', 'Bạn đã vote thành công cho câu hỏi!'); } else { displayMessage('Có lỗi xảy ra', data.error); } } } }); } } function commentForQuestion(question_id) { var comment = $('#question_comment_' + question_id).val(); loadingAjax(); $.ajax({ url: '/ajaxQuestion/postComment', type: "POST", data: ({ item_id: question_id, question_id: question_id, comment: comment, item_type: 1 }), success: function(resp) { var data = jQuery.parseJSON(resp); if (data !== null) { if (data.success) { $('#question_comment_' + question_id).val(''); reloadQuestionComment(question_id, 0); } else { displayMessage('Có lỗi xảy ra', data.error); } } closeLoadingAjax(); } }); } function likeAnswerMember(question_id, answer_id) { $.ajax({ url: '/ajaxQuestion/like', type: "POST", data: ({ item_id: answer_id, item_type: 1 }), success: function(resp) { var data = jQuery.parseJSON(resp); if (data !== null) { if (data.success) { $('#member_ans_total_like_' + question_id + '_' + answer_id).html(data.total_like + ''); $('#member_ans_total_like_' + question_id + '_' + answer_id).show(); } else { displayMessage('Có lỗi xảy ra', data.error); } } } }); } function toggleMemberAnswerComment(question_id, answer_id, mode) { if (mode === 1) { display_all = true; } if ((mode === 0) && (display_all)) { mode = 1; } $.ajax({ url: '/ajaxQuestion/loadMemberAnsComment', type: "GET", data: ({ answer_id: answer_id, mode: mode }), success: function(resp) { $('#member_ans_div_' + question_id + '_' + answer_id).html(resp); $('#member_ans_div_' + question_id + '_' + answer_id).show(); } }); } function reloadTotalCommentOfMemberAns(question_id, answer_id) { $.ajax({ url: '/ajaxQuestion/countComment', type: "GET", data: ({ answer_id: answer_id }), success: function(resp) { var data = jQuery.parseJSON(resp); if (data !== null) { if (data.success) { $('#member_ans_total_comment_' + question_id + '_' + answer_id).html('Bình luận(' + data.total + ')'); } else { displayMessage('Có lỗi xảy ra', data.error); } } } }); } function commentForMemberAns(question_id, answer_id) { var comment = $('#member_ans_comment_' + question_id + '_' + answer_id).val(); $.ajax({ url: '/ajaxQuestion/postComment', type: "POST", data: ({ item_id: answer_id, question_id: question_id, comment: comment, item_type: 3 }), success: function(resp) { var data = jQuery.parseJSON(resp); if (data !== null) { if (data.success) { $('#member_ans_comment_' + question_id + '_' + answer_id).val(''); toggleMemberAnswerComment(question_id, answer_id, 0); reloadTotalCommentOfMemberAns(question_id, answer_id); } else { displayMessage('Có lỗi xảy ra', data.error); } } } }); } function replyMemberAnsComment(question_id, answer_id, username) { $('#member_ans_comment_' + question_id + '_' + answer_id).val('@' + username + ':'); $('#member_ans_comment_' + question_id + '_' + answer_id).focus(); } function likeAnswerMemberComment(question_id, answer_id, comment_id) { $.ajax({ url: '/ajaxQuestion/like', type: "POST", data: ({ item_id: comment_id, item_type: 2 }), success: function(resp) { var data = jQuery.parseJSON(resp); if (data !== null) { if (data.success) { $('#comment_total_like_' + question_id + '_' + answer_id + '_' + comment_id).html(data.total_like + ''); $('#comment_total_like_' + question_id + '_' + answer_id + '_' + comment_id).show(); } else { displayMessage('Có lỗi xảy ra', data.error); } } } }); } function reloadQuestionComment(question_id, display_all) { $.ajax({ url: '/ajaxQuestion/reloadQuestionComment', type: "GET", data: ({ question_id: question_id, mode: display_all }), success: function(resp) { $('#list_question_comment_' + question_id).html(resp); } }); } function likeCommentOfQuestion(question_id, comment_id) { $.ajax({ url: '/ajaxQuestion/like', type: "POST", data: ({ item_id: comment_id, item_type: 2 }), success: function(resp) { var data = jQuery.parseJSON(resp); if (data !== null) { if (data.success) { $('#comment_of_question_' + question_id + '_' + comment_id).html(data.total_like + ''); $('#comment_of_question_' + question_id + '_' + comment_id).show(); } else { displayMessage('Có lỗi xảy ra', data.error); } } } }); } function likeSubCommentOfQuestion(question_id, comment_id) { $.ajax({ url: '/ajaxQuestion/like', type: "POST", data: ({ item_id: comment_id, item_type: 2 }), success: function(resp) { var data = jQuery.parseJSON(resp); if (data !== null) { if (data.success) { $('#sub_comment_count_like_' + question_id + '_' + comment_id).html(data.total_like + ''); $('#sub_comment_count_like_' + question_id + '_' + comment_id).show(); } else { displayMessage('Có lỗi xảy ra', data.error); } } } }); } function loadSubComment(question_id, comment_id, display_all) { $.ajax({ url: '/ajaxQuestion/reloadSubComment', type: "GET", data: ({ question_id: question_id, comment_id: comment_id, mode: display_all }), success: function(resp) { $('#sub_comment_form_' + question_id + '_' + comment_id).html(resp); $('#sub_comment_form_' + question_id + '_' + comment_id).show(); MathJax.Hub.Queue(["Typeset", MathJax.Hub, document.getElementById("sub_comment_form_" + question_id + '_' + comment_id)]); } }); } function addSubComment(question_id, comment_id) { function appendLeadingZeroes(n) { if (n <= 9) { return "0" + n; } return n } let current_username = ''; let current_datetime = new Date() let formatted_date = appendLeadingZeroes(current_datetime.getDate()) + "/" + appendLeadingZeroes(current_datetime.getMonth() + 1) + "/" + current_datetime.getFullYear() + " " + appendLeadingZeroes(current_datetime.getHours()) + ":" + appendLeadingZeroes(current_datetime.getMinutes()); var comment = $('#form_sub_comment_' + question_id + '_' + comment_id).val(); var html = ''; html += '
'; html += ''; html += '
'; html += ''; html += '' + current_username + ' '; html += ''; html += comment; html += '
'; html += ' Thích'; html += ' Trả lời ' + formatted_date + ''; html += ''; html += '
'; html += '
'; html += '
'; var root_cmt_id = comment_id; if (child_cmt_id != '') { comment_id = child_cmt_id; } else { comment_id = root_cmt_id; } $('#sub_comment_form_' + question_id + '_' + root_cmt_id + ' .box_sub.formmm').before(html); $('#form_sub_comment_' + question_id + '_' + comment_id).val(''); $.ajax({ url: '/ajaxQuestion/postComment', type: "POST", data: ({ item_id: comment_id, question_id: question_id, comment: comment, item_type: 2, root_cmt_id: root_cmt_id, }), success: function(resp) { var data = jQuery.parseJSON(resp); if (data !== null) { if (data.success) { $('#question_comment_' + question_id).val(''); // location.reload(); loadSubComment(question_id, root_cmt_id, 0); } else { displayMessage('Có lỗi xảy ra', data.error); } } } }); } function replySubComment(question_id, comment_id, username, sub_cmt_id = null) { $('#form_sub_comment_' + question_id + '_' + comment_id).val('@' + username + ':'); parent_cmt_id = comment_id; if (sub_cmt_id != null) { child_cmt_id = sub_cmt_id; } else { child_cmt_id = ''; } $('#form_sub_comment_' + question_id + '_' + comment_id).focus(); } function removeSavedQuestion(question_id, reload) { $.ajax({ url: '/ajaxQuestion/removeSavedQuestion', type: "POST", data: ({ question_id: question_id }), success: function(resp) { var data = jQuery.parseJSON(resp); if (data !== null) { if (data.success) { if (reload) { window.location.reload(); } } else { displayMessage('Có lỗi xảy ra', data.error); } } } }); }
Trong thí nghiệm nhiễu xạ electron được thực hiện bởi hai nhà vật lí Clinton Joseph Davisson và Lester Halbert Germer từ năm 1923 đến 1927, để tạo ra hình ảnh nhiễu xạ electron trên màn thì electron phải có bước sóng de Broglie xấp xỉ kích thước của lỗ nhiễu xạ. Lấy hằng số Planck \(h = 6,{626.10^{ - 34}}\,\,J.s\) và khối lượng electron \({m_e} = 9,{1.10^{ - 31}}\,\,kg\). Xét một electron chuyển động với tốc độ \({m_e} = {7.10^6}\,\,m/s\) thì tỉ số giữa bước sóng de Broglie của electron này và khoảng cách trung bình giữa các phân tử trong tinh thể than chì khoảng \({10^{ - 10}}\,\,m\) bằng bao nhiêu? Lấy kết quả xấp xỉ đến hai chữ số thập phân.
Câu 719907: Trong thí nghiệm nhiễu xạ electron được thực hiện bởi hai nhà vật lí Clinton Joseph Davisson và Lester Halbert Germer từ năm 1923 đến 1927, để tạo ra hình ảnh nhiễu xạ electron trên màn thì electron phải có bước sóng de Broglie xấp xỉ kích thước của lỗ nhiễu xạ. Lấy hằng số Planck \(h = 6,{626.10^{ - 34}}\,\,J.s\) và khối lượng electron \({m_e} = 9,{1.10^{ - 31}}\,\,kg\). Xét một electron chuyển động với tốc độ \({m_e} = {7.10^6}\,\,m/s\) thì tỉ số giữa bước sóng de Broglie của electron này và khoảng cách trung bình giữa các phân tử trong tinh thể than chì khoảng \({10^{ - 10}}\,\,m\) bằng bao nhiêu? Lấy kết quả xấp xỉ đến hai chữ số thập phân.
A. 1.
B. 1,24.
C. 1,21.
D. 1,04.
Câu hỏi : 719907
Phương pháp giải:
Bước sóng de Broglie: \(\lambda = \dfrac{h}{{mv}}\)
-
Đáp án : D
(0) bình luận (0) lời giải
Giải chi tiết:
Bước sóng de Broglie của electron này là:
\(\begin{array}{l}\lambda = \dfrac{h}{{mv}} = \dfrac{{6,{{626.10}^{ - 34}}}}{{9,{{1.10}^{ - 31}}{{.7.10}^6}}} \approx 1,{0402.10^{ - 10}}\,\,\left( m \right)\\ \Rightarrow \dfrac{\lambda }{{{{10}^{ - 10}}}} \approx 1,04\end{array}\)
Đáp số: 1,04
Lời giải sai Bình thường Khá hay Rất Hay
Xem bình luận
'; noteHtml += '
'; noteHtml += '
'; noteHtml += '
'; noteHtml += ''; noteHtml +='
'; noteHtml +='
'; noteHtml +='
'; noteHtml +='
'; noteHtml +='Đóng'; if(content != "") noteHtml +='Cập nhật'; else noteHtml +='Lưu'; noteHtml +='
'; noteHtml += '
'; noteHtml += '
'; $(noteHtml).insertAfter("#wrapper"); $("#popupNoteUser").css('display', 'flex'); TS247_NOTE_SIMPLE.saveNewNoteUser(objId,note_id); }, saveNewNoteUser:function(objId,note_id=0) { $(".saveDataNote, .updateDataNote").click(function(){ let checkAct = $(this).hasClass("updateDataNote"); let type_save = checkAct?1:0; let content = $("#boxAddNote").val(); if($.trim(content).length == 0) { alert("Bạn chưa nhập nội dung ghi chú."); return false; } $.ajax({ url: '/eAjax/addNoteToExam', type: 'POST', dataType: 'json', data: ({ note_id:note_id, type_save: parseInt(type_save), item_id: parseInt(objId), type_question: 1, content: content }), success: function(e) { if (e.success) { if(type_save){ confirm("Bạn đã sửa ghi chú thành công!"); }else{ confirm("Bạn đã thêm ghi chú thành công!"); } $("#popupNoteUser").hide(); var dataItems = e.notes; var note_id = e.note_id; $("#question_"+objId+" .item-note .item-note-item").remove(); var html_item = ""; $(dataItems).each(function(key,item){ html_item += "
"+TS247_NOTE_SIMPLE.HtmlEncode(item.content)+"EditDelete
"; }); $(html_item).insertAfter("#question_"+objId+" .item-note h3"); $("#question_"+objId+" .exam-note-simple").attr("data-noteid",note_id); return false; } else { alert(e.msg); } } }); return false; }); $(".bntCloseNoteUser").click(function(){ $("#popupNoteUser").hide(); }); }, HtmlEncode: function(s){ var el = document.createElement("div"); el.innerText = el.textContent = s; s = el.innerHTML; return s; }, EditNote:function(){ $("body").on("click",'.btnEditNote',function(){ var note_id = $(this).data("noteid"); $.ajax({ url: '/eAjax/getSimpleNote', type: 'POST', dataType: 'json', data: ({ note_id: parseInt(note_id), }), success: function(e) { if (e.success) { var dataItems = e.data[0]; TS247_NOTE_SIMPLE.showPopupNote(dataItems.item_id,dataItems.id,dataItems.content); } } }); }); }, DeleteNote:function(){ $("body").on("click",'.btnDeleteNote',function(){ var note_id = $(this).data("noteid"); var objId = $(this).closest(".nobor").attr("id").replace("question_", ""); if (!confirm('Bạn có chắc muốn xóa ghi chú này không?')) { return } $.ajax({ url: '/eAjax/removeNoteUser', type: 'POST', dataType: 'json', data: ({ note_id: parseInt(note_id), }), success: function(e) { if (e.success) { $("#question_"+objId+" .item-note .item-note-item").remove(); alert("Đã xóa ghi chú thành công."); $("#question_"+objId+" .exam-note-simple").attr("data-noteid",0); return false; } } }); }); } };