"); newWin.document.close(); }); $("#FavoriteFolderfrom").dialog({ autoOpen: false, height: "auto", width: 500, resizable: false, modal: true, buttons: { "Lưu trữ": function () { luutrufolder(); } } }); $(".AddFolder").click(function myfunction() { if ($("#FavoriteFolderfrom #txtFolder").val() == "") { alert("Bạn phải nhập tên thư mục"); return false; } var params = "ParentID=" + $("#FavoriteFolderfrom #fdParent").val() + "&FolderName=" + $("#FavoriteFolderfrom #txtFolder").val(); $.ajax({ 'url': '/page/ajaxcontroler.aspx', 'data': params + '&action=AddFolder', 'type': 'POST', success: function (response) { if (response != "") { if (response.substr(0, 3) == "Err") { alert(response.substr(3)); } else { var items = $.parseJSON(response); if (items["ParentID"] == "0") { $("#FavoriteFolderfrom ul").append("
"); $("#FavoriteFolderfrom #fdParent").append(""); $("#FavoriteFolderfrom #fdParent").html(""); $("#FavoriteFolderfrom ul li label").each(function myfunction() { if ($(this).attr("parentid") == "0") { $("#FavoriteFolderfrom #fdParent").append(""); $(this).parent().find("> div").each(function myfunction() { var lb = $(this).find("label"); $("#FavoriteFolderfrom #fdParent").append(""); }); } }); } else { $("#Fcheckbox-" + items["ParentID"]).parent().append("
"); $("#FavoriteFolderfrom #fdParent").html(""); $("#FavoriteFolderfrom ul li label").each(function myfunction() { if ($(this).attr("parentid") == "0") { $("#FavoriteFolderfrom #fdParent").append(""); $(this).parent().find("> div").each(function myfunction() { var lb = $(this).find("label"); $("#FavoriteFolderfrom #fdParent").append(""); }); } }); } $("#FavoriteFolderfrom #txtFolder").val("") $("#FavoriteFolderfrom ul").scrollTop(10000) } } }, error: function (response) { alert(response); } }); }); }); function editFolder(val) { var FolderID = $(val).attr("FID"); var parent = $(val).parent(); parent.find("label").hide(); var Tfl = parent.find("input[type=text]"); Tfl.show(); Tfl.focus(); $(val).hide(); Tfl.blur(function () { if (Tfl.val() == "") { alert("Bạn phải nhập tên thư mục"); Tfl.focus(); return false; } else { var params = "FolderID=" + FolderID + "&FolderName=" + Tfl.val(); $.ajax({ 'url': '/page/ajaxcontroler.aspx', 'data': params + '&action=UpdateFolder', 'type': 'POST', success: function (response) { if (response != "") { if (response.substr(0, 3) == "Err") { alert(response.substr(3)); } else { $(val).show(); Tfl.hide(); parent.find("label").html(Tfl.val()); parent.find("label").show(); $("#FavoriteFolderfrom #fdParent").html(""); $("#FavoriteFolderfrom ul li label").each(function myfunction() { if ($(this).attr("parentid") == "0") { $("#FavoriteFolderfrom #fdParent").append(""); $(this).parent().find("> div").each(function myfunction() { var lb = $(this).find("label"); $("#FavoriteFolderfrom #fdParent").append(""); }); } }); } } }, error: function (response) { alert(response); } }); } return false; }); Tfl.keypress(function (event) { if (event.keyCode == 13) { if (Tfl.val() == "") { alert("Bạn phải nhập tên thư mục"); Tfl.focus(); return false; } else { var params = "FolderID=" + FolderID + "&FolderName=" + Tfl.val(); $.ajax({ 'url': '/page/ajaxcontroler.aspx', 'data': params + '&action=UpdateFolder', 'type': 'POST', success: function (response) { if (response != "") { if (response.substr(0, 3) == "Err") { alert(response.substr(3)); } else { $(val).show(); Tfl.hide(); parent.find("label").html(Tfl.val()); parent.find("label").show(); $("#FavoriteFolderfrom #fdParent").html(""); $("#FavoriteFolderfrom ul li label").each(function myfunction() { if ($(this).attr("parentid") == "0") { $("#FavoriteFolderfrom #fdParent").append(""); $(this).parent().find("> div").each(function myfunction() { var lb = $(this).find("label"); $("#FavoriteFolderfrom #fdParent").append(""); }); } }); } } }, error: function (response) { alert(response); } }); } return false; } }); } function removeFolder(val) { if (confirm("Bạn muốn xóa thư mục này?")) { var FolderID = $(val).attr("FID"); var params = "FolderID=" + FolderID; var parent = $(val).parent(); $.ajax({ 'url': '/page/ajaxcontroler.aspx', 'data': params + '&action=DeleteFolder', 'type': 'POST', success: function (response) { if (response != "") { if (response.substr(0, 3) == "Err") { alert(response.substr(3)); } else { parent.remove(); $("#FavoriteFolderfrom #fdParent").html(""); $("#FavoriteFolderfrom ul li label").each(function myfunction() { if ($(this).attr("parentid") == "0") { $("#FavoriteFolderfrom #fdParent").append(""); $(this).parent().find("> div").each(function myfunction() { var lb = $(this).find("label"); $("#FavoriteFolderfrom #fdParent").append(""); }); } }); } } }, error: function (response) { alert(response); } }); } return false; } function luutrufolder() { var Flder = ""; $("#FavoriteFolderfrom .Fcheckbox").each(function myfunction() { if ($(this).is(':checked')) { Flder += "[" + $(this).attr("FID") + "]"; } }); var params = "LawID=" + $("#FavoriteFolderfrom #FavoriteLawID").val() + "&Type=Add&Flder=" + Flder; $.ajax({ 'url': '/page/ajaxcontroler.aspx', 'data': params + '&action=AddOrDeleteMyDoc', 'type': 'POST', success: AddOrDeleteMyDoc, error: function (response) { } }); }
"; guiders.createGuider({ attachTo: "#span-" + id, buttons: [], description: linkVBBS + "
" + arrnd[0] + "
" + linkVBBS, id: id, position: 12, width: 500, title: cauDan, xButton: true, closeOnEscape: true }); $(aaa).after("
" + nd + "
"); $("#divltrThamChieuDialog").dialog("open"); }); $(aaa).mouseover(function () { ddrivetip("
Click vào để xem nội dung
", 180); }); $(aaa).mouseout(function () { hideddrivetip(); }); } } }); }); }); function ShowGuid(iddk) { guiders.show(iddk); } function ShowPopupVBTraiNgiem() { guiders.createGuider({ attachTo: "#lbVanBanTraiNghiem", buttons: [], description: "
THƯ VIỆN PHÁP LUẬT cung cấp một số văn bản dưới đây để khách hàng trải nghiệm các tiện ích miễn phí:
" + "
- " + "
- Bộ luật lao động 2019 " + "
- Luật Hôn nhân và gia đình 2014 " + "
- Luật xử lý vi phạm hành chính 2012 " + "
- Luật Doanh nghiệp 2020 " + "
- Bộ luật hình sự 2015 " + "
- Luật Đất đai 2013 " + "
- Luật Đầu tư 2020 " + "
- Nghị định 100/2019/NĐ-CP " + "
- Nghị định 06/2021/NĐ-CP " + "
- Thông tư 111/2013/TT-BTC " + "
Xem chi tiết các gói dịch vụ
", id: "guiVBTN", position: 5, width: 400, title: "", xButton: true, closeOnEscape: true }); guiders.show("guiVBTN"); }
Địa chỉ: | 17 Nguyễn Gia Thiều, P. Võ Thị Sáu, Q.3, TP.HCM |
Điện thoại: | (028) 3930 3279 (06 lines) |
E-mail: | info@ThuVienPhapLuat.vn |
- Trang chủ
- Các Gói Dịch Vụ Online
- Hướng Dẫn Sử Dụng
- Giới Thiệu
- Liên Hệ
- Lưu trữ
- Quy Chế Hoạt Động
- Đăng ký Thành viên
- Thỏa Ước Dịch Vụ
- Tra cứu pháp luật
- Tra cứu Công văn
- Tra cứu Tiêu Chuẩn Việt Nam
- Cộng đồng ngành luật
- Quy chế bảo vệ dữ liệu cá nhân
Hãy để chúng tôi hỗ trợ bạn!