'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'b117堵頭注塑模具設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'B117堵頭注塑模具設(shè)計(jì) (包含165個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'CAD (包含29個(gè)文件)', },{ id:'000010000100001', pId:'0000100001', name:'bh01.dwg (43KB)', click:'getBookinfo(8407035)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'bh06.dwg (42KB)', click:'getBookinfo(8407036)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'bh07.dwg (40KB)', click:'getBookinfo(8407037)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'bh10-zhoucheng.dwg (26KB)', click:'getBookinfo(8407038)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'bh11.dwg (53KB)', click:'getBookinfo(8407039)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'bh12.dwg (39KB)', click:'getBookinfo(8407040)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'bh13.dwg (30KB)', click:'getBookinfo(8407041)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'bh14.dwg (28KB)', click:'getBookinfo(8407042)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'bh15.dwg (28KB)', click:'getBookinfo(8407043)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'bh16.dwg (31KB)', click:'getBookinfo(8407044)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'bh17.dwg (32KB)', click:'getBookinfo(8407045)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'bh18.dwg (26KB)', click:'getBookinfo(8407046)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'bh19.dwg (26KB)', click:'getBookinfo(8407047)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'bh2.dwg (61KB)', click:'getBookinfo(8407048)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'bh20.dwg (53KB)', click:'getBookinfo(8407049)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'bh21.dwg (58KB)', click:'getBookinfo(8407050)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100017', pId:'0000100001', name:'bh24.dwg (28KB)', click:'getBookinfo(8407051)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100018', pId:'0000100001', name:'bh25.dwg (41KB)', click:'getBookinfo(8407052)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100019', pId:'0000100001', name:'bh26.dwg (38KB)', click:'getBookinfo(8407053)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100020', pId:'0000100001', name:'bh27.dwg (25KB)', click:'getBookinfo(8407054)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100021', pId:'0000100001', name:'bh28.dwg (39KB)', click:'getBookinfo(8407055)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100022', pId:'0000100001', name:'bh3.dwg (57KB)', click:'getBookinfo(8407056)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100023', pId:'0000100001', name:'bh4.dwg (67KB)', click:'getBookinfo(8407057)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100024', pId:'0000100001', name:'bh8-1.dwg (67KB)', click:'getBookinfo(8407058)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100025', pId:'0000100001', name:'bh8.dwg (111KB)', click:'getBookinfo(8407059)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100026', pId:'0000100001', name:'lingjian.dwg (43KB)', click:'getBookinfo(8407060)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100027', pId:'0000100001', name:'zz01.dwg (72KB)', click:'getBookinfo(8407061)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100028', pId:'0000100001', name:'zz01.dwl (0KB)', },{ id:'000010000100029', pId:'0000100001', name:'zz01.dwl2 (0KB)', },{ id:'0000100002', pId:'00001', name:'畢設(shè)終結(jié)版 (包含124個(gè)文件)', },{ id:'000010000200001', pId:'0000100002', name:'11.prt.1 (493KB)', },{ id:'000010000200002', pId:'0000100002', name:'5.drw.1 (193KB)', },{ id:'000010000200003', pId:'0000100002', name:'5.drw.2 (58KB)', },{ id:'000010000200004', pId:'0000100002', name:'bh01.prt.1 (187KB)', },{ id:'000010000200005', pId:'0000100002', name:'bh014.prt.1 (94KB)', },{ id:'000010000200006', pId:'0000100002', name:'bh014.prt.2 (91KB)', },{ id:'000010000200007', pId:'0000100002', name:'bh014.prt.3 (93KB)', },{ id:'000010000200008', pId:'0000100002', name:'bh015.prt.1 (101KB)', },{ id:'000010000200009', pId:'0000100002', name:'bh015.prt.2 (98KB)', },{ id:'000010000200010', pId:'0000100002', name:'bh025.prt.1 (129KB)', },{ id:'000010000200011', pId:'0000100002', name:'bh025.prt.2 (118KB)', },{ id:'000010000200012', pId:'0000100002', name:'bh06.prt.1 (162KB)', },{ id:'000010000200013', pId:'0000100002', name:'bh06.prt.2 (163KB)', },{ id:'000010000200014', pId:'0000100002', name:'bh06.prt.3 (164KB)', },{ id:'000010000200015', pId:'0000100002', name:'bh06.prt.4 (164KB)', },{ id:'000010000200016', pId:'0000100002', name:'bh06.prt.5 (234KB)', },{ id:'000010000200017', pId:'0000100002', name:'bh07.prt.1 (129KB)', },{ id:'000010000200018', pId:'0000100002', name:'bh10-zhoucheng.prt.1 (85KB)', },{ id:'000010000200019', pId:'0000100002', name:'bh11.prt.1 (187KB)', },{ id:'000010000200020', pId:'0000100002', name:'bh11.prt.2 (180KB)', },{ id:'000010000200021', pId:'0000100002', name:'bh11.prt.3 (189KB)', },{ id:'000010000200022', pId:'0000100002', name:'bh12.prt.1 (114KB)', },{ id:'000010000200023', pId:'0000100002', name:'bh13.prt.1 (89KB)', },{ id:'000010000200024', pId:'0000100002', name:'bh13.prt.2 (92KB)', },{ id:'000010000200025', pId:'0000100002', name:'bh13.prt.3 (90KB)', },{ id:'000010000200026', pId:'0000100002', name:'bh13.prt.4 (93KB)', },{ id:'000010000200027', pId:'0000100002', name:'bh13.prt.5 (93KB)', },{ id:'000010000200028', pId:'0000100002', name:'bh16.prt.1 (88KB)', },{ id:'000010000200029', pId:'0000100002', name:'bh17.prt.1 (109KB)', },{ id:'000010000200030', pId:'0000100002', name:'bh17.prt.2 (98KB)', },{ id:'000010000200031', pId:'0000100002', name:'bh2.prt.1 (153KB)', },{ id:'000010000200032', pId:'0000100002', name:'bh2.prt.2 (152KB)', },{ id:'000010000200033', pId:'0000100002', name:'bh20.prt.1 (147KB)', },{ id:'000010000200034', pId:'0000100002', name:'bh20.prt.2 (142KB)', },{ id:'000010000200035', pId:'0000100002', name:'bh20.prt.3 (149KB)', },{ id:'000010000200036', pId:'0000100002', name:'bh20.prt.4 (139KB)', },{ id:'000010000200037', pId:'0000100002', name:'bh20.prt.5 (140KB)', },{ id:'000010000200038', pId:'0000100002', name:'bh21.prt.1 (493KB)', },{ id:'000010000200039', pId:'0000100002', name:'bh24.prt.1 (82KB)', },{ id:'000010000200040', pId:'0000100002', name:'bh24.prt.2 (80KB)', },{ id:'000010000200041', pId:'0000100002', name:'bh24.prt.3 (81KB)', },{ id:'000010000200042', pId:'0000100002', name:'bh24.prt.4 (81KB)', },{ id:'000010000200043', pId:'0000100002', name:'bh26.prt.1 (129KB)', },{ id:'000010000200044', pId:'0000100002', name:'bh26.prt.2 (123KB)', },{ id:'000010000200045', pId:'0000100002', name:'bh28.prt.1 (117KB)', },{ id:'000010000200046', pId:'0000100002', name:'bh3.prt.1 (162KB)', },{ id:'000010000200047', pId:'0000100002', name:'bh3.prt.2 (172KB)', },{ id:'000010000200048', pId:'0000100002', name:'bh3.prt.3 (235KB)', },{ id:'000010000200049', pId:'0000100002', name:'bh3.prt.4 (230KB)', },{ id:'000010000200050', pId:'0000100002', name:'bh4.prt.1 (205KB)', },{ id:'000010000200051', pId:'0000100002', name:'bh4.prt.2 (265KB)', },{ id:'000010000200052', pId:'0000100002', name:'bh4.prt.3 (287KB)', },{ id:'000010000200053', pId:'0000100002', name:'bh4.prt.4 (289KB)', },{ id:'000010000200054', pId:'0000100002', name:'bh4.prt.5 (279KB)', },{ id:'000010000200055', pId:'0000100002', name:'bh4.prt.6 (284KB)', },{ id:'000010000200056', pId:'0000100002', name:'bh4.prt.7 (280KB)', },{ id:'000010000200057', pId:'0000100002', name:'bh4.prt.8 (344KB)', },{ id:'000010000200058', pId:'0000100002', name:'bh4.prt.9 (346KB)', },{ id:'000010000200059', pId:'0000100002', name:'bh8.prt.1 (1233KB)', },{ id:'000010000200060', pId:'0000100002', name:'bh8.prt.2 (1270KB)', },{ id:'000010000200061', pId:'0000100002', name:'bh8.prt.3 (1272KB)', },{ id:'000010000200062', pId:'0000100002', name:'bh8.prt.4 (1270KB)', },{ id:'000010000200063', pId:'0000100002', name:'global_intf.inf.1 (0KB)', },{ id:'000010000200064', pId:'0000100002', name:'global_intf.inf.10 (0KB)', },{ id:'000010000200065', pId:'0000100002', name:'global_intf.inf.11 (0KB)', },{ id:'000010000200066', pId:'0000100002', name:'global_intf.inf.12 (0KB)', },{ id:'000010000200067', pId:'0000100002', name:'global_intf.inf.13 (0KB)', },{ id:'000010000200068', pId:'0000100002', name:'global_intf.inf.14 (0KB)', },{ id:'000010000200069', pId:'0000100002', name:'global_intf.inf.15 (0KB)', },{ id:'000010000200070', pId:'0000100002', name:'global_intf.inf.16 (0KB)', },{ id:'000010000200071', pId:'0000100002', name:'global_intf.inf.17 (0KB)', },{ id:'000010000200072', pId:'0000100002', name:'global_intf.inf.2 (0KB)', },{ id:'000010000200073', pId:'0000100002', name:'global_intf.inf.3 (0KB)', },{ id:'000010000200074', pId:'0000100002', name:'global_intf.inf.4 (0KB)', },{ id:'000010000200075', pId:'0000100002', name:'global_intf.inf.5 (0KB)', },{ id:'000010000200076', pId:'0000100002', name:'global_intf.inf.6 (0KB)', },{ id:'000010000200077', pId:'0000100002', name:'global_intf.inf.7 (0KB)', },{ id:'000010000200078', pId:'0000100002', name:'global_intf.inf.8 (0KB)', },{ id:'000010000200079', pId:'0000100002', name:'global_intf.inf.9 (0KB)', },{ id:'000010000200080', pId:'0000100002', name:'jian01.prt.1 (68KB)', },{ id:'000010000200081', pId:'0000100002', name:'jian2.prt.1 (67KB)', },{ id:'000010000200082', pId:'0000100002', name:'jian3.prt.1 (65KB)', },{ id:'000010000200083', pId:'0000100002', name:'jian4.prt.1 (60KB)', },{ id:'000010000200084', pId:'0000100002', name:'lingjian001.prt.1 (371KB)', },{ id:'000010000200085', pId:'0000100002', name:'luoding01.prt.1 (81KB)', },{ id:'000010000200086', pId:'0000100002', name:'luoding02.prt.1 (77KB)', },{ id:'000010000200087', pId:'0000100002', name:'luoding02.prt.2 (77KB)', },{ id:'000010000200088', pId:'0000100002', name:'luoding02.prt.3 (84KB)', },{ id:'000010000200089', pId:'0000100002', name:'luoding03.prt.1 (79KB)', },{ id:'000010000200090', pId:'0000100002', name:'std.err (0KB)', },{ id:'000010000200091', pId:'0000100002', name:'std.out (0KB)', },{ id:'000010000200092', pId:'0000100002', name:'trail.txt.1 (13KB)', },{ id:'000010000200093', pId:'0000100002', name:'trail.txt.2 (0KB)', },{ id:'000010000200094', pId:'0000100002', name:'trail.txt.3 (0KB)', },{ id:'000010000200095', pId:'0000100002', name:'trail.txt.4 (44KB)', },{ id:'000010000200096', pId:'0000100002', name:'trail.txt.5 (19KB)', },{ id:'000010000200097', pId:'0000100002', name:'trail.txt.6 (1419KB)', },{ id:'000010000200098', pId:'0000100002', name:'trail.txt.7 (68KB)', },{ id:'000010000200099', pId:'0000100002', name:'trail.txt.8 (120KB)', },{ id:'000010000200100', pId:'0000100002', name:'zp01.asm.1 (105KB)', },{ id:'000010000200101', pId:'0000100002', name:'zp01.asm.10 (173KB)', },{ id:'000010000200102', pId:'0000100002', name:'zp01.asm.11 (171KB)', },{ id:'000010000200103', pId:'0000100002', name:'zp01.asm.12 (277KB)', },{ id:'000010000200104', pId:'0000100002', name:'zp01.asm.13 (332KB)', },{ id:'000010000200105', pId:'0000100002', name:'zp01.asm.14 (335KB)', },{ id:'000010000200106', pId:'0000100002', name:'zp01.asm.15 (336KB)', },{ id:'000010000200107', pId:'0000100002', name:'zp01.asm.16 (364KB)', },{ id:'000010000200108', pId:'0000100002', name:'zp01.asm.17 (361KB)', },{ id:'000010000200109', pId:'0000100002', name:'zp01.asm.18 (376KB)', },{ id:'000010000200110', pId:'0000100002', name:'zp01.asm.19 (366KB)', },{ id:'000010000200111', pId:'0000100002', name:'zp01.asm.2 (129KB)', },{ id:'000010000200112', pId:'0000100002', name:'zp01.asm.20 (364KB)', },{ id:'000010000200113', pId:'0000100002', name:'zp01.asm.21 (369KB)', },{ id:'000010000200114', pId:'0000100002', name:'zp01.asm.22 (369KB)', },{ id:'000010000200115', pId:'0000100002', name:'zp01.asm.23 (377KB)', },{ id:'000010000200116', pId:'0000100002', name:'zp01.asm.24 (351KB)', },{ id:'000010000200117', pId:'0000100002', name:'zp01.asm.25 (338KB)', },{ id:'000010000200118', pId:'0000100002', name:'zp01.asm.3 (130KB)', },{ id:'000010000200119', pId:'0000100002', name:'zp01.asm.4 (150KB)', },{ id:'000010000200120', pId:'0000100002', name:'zp01.asm.5 (149KB)', },{ id:'000010000200121', pId:'0000100002', name:'zp01.asm.6 (150KB)', },{ id:'000010000200122', pId:'0000100002', name:'zp01.asm.7 (155KB)', },{ id:'000010000200123', pId:'0000100002', name:'zp01.asm.8 (151KB)', },{ id:'000010000200124', pId:'0000100002', name:'zp01.asm.9 (154KB)', },{ id:'0000100003', pId:'00001', name:'堵頭注塑模具設(shè)計(jì)論文.wps (555KB)', click:'getBookinfo(8407062)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'截圖247.png (48KB)', click:'getBookinfo(8407063)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'截圖248.png (31KB)', click:'getBookinfo(8407064)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'截圖249.png (21KB)', click:'getBookinfo(8407065)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'截圖250.png (13KB)', click:'getBookinfo(8407066)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'截圖251.png (19KB)', click:'getBookinfo(8407067)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'截圖252.png (30KB)', click:'getBookinfo(8407068)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'截圖253.png (18KB)', click:'getBookinfo(8407069)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'截圖254.png (22KB)', click:'getBookinfo(8407070)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'截圖255.png (57KB)', click:'getBookinfo(8407071)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'b117堵頭注塑模具設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'bh01.dwg',url:'http://m.facezit.com/p-8407035.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'bh06.dwg',url:'http://m.facezit.com/p-8407036.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'bh07.dwg',url:'http://m.facezit.com/p-8407037.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'bh10-zhoucheng.dwg',url:'http://m.facezit.com/p-8407038.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'bh11.dwg',url:'http://m.facezit.com/p-8407039.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'bh12.dwg',url:'http://m.facezit.com/p-8407040.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'bh13.dwg',url:'http://m.facezit.com/p-8407041.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'bh14.dwg',url:'http://m.facezit.com/p-8407042.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'bh15.dwg',url:'http://m.facezit.com/p-8407043.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'bh16.dwg',url:'http://m.facezit.com/p-8407044.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'bh17.dwg',url:'http://m.facezit.com/p-8407045.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'bh18.dwg',url:'http://m.facezit.com/p-8407046.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'bh19.dwg',url:'http://m.facezit.com/p-8407047.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'bh2.dwg',url:'http://m.facezit.com/p-8407048.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'bh20.dwg',url:'http://m.facezit.com/p-8407049.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'bh21.dwg',url:'http://m.facezit.com/p-8407050.html', target:'_blank' },{ id:'000010000100017', pId:'0000100001', name:'bh24.dwg',url:'http://m.facezit.com/p-8407051.html', target:'_blank' },{ id:'000010000100018', pId:'0000100001', name:'bh25.dwg',url:'http://m.facezit.com/p-8407052.html', target:'_blank' },{ id:'000010000100019', pId:'0000100001', name:'bh26.dwg',url:'http://m.facezit.com/p-8407053.html', target:'_blank' },{ id:'000010000100020', pId:'0000100001', name:'bh27.dwg',url:'http://m.facezit.com/p-8407054.html', target:'_blank' },{ id:'000010000100021', pId:'0000100001', name:'bh28.dwg',url:'http://m.facezit.com/p-8407055.html', target:'_blank' },{ id:'000010000100022', pId:'0000100001', name:'bh3.dwg',url:'http://m.facezit.com/p-8407056.html', target:'_blank' },{ id:'000010000100023', pId:'0000100001', name:'bh4.dwg',url:'http://m.facezit.com/p-8407057.html', target:'_blank' },{ id:'000010000100024', pId:'0000100001', name:'bh8-1.dwg',url:'http://m.facezit.com/p-8407058.html', target:'_blank' },{ id:'000010000100025', pId:'0000100001', name:'bh8.dwg',url:'http://m.facezit.com/p-8407059.html', target:'_blank' },{ id:'000010000100026', pId:'0000100001', name:'lingjian.dwg',url:'http://m.facezit.com/p-8407060.html', target:'_blank' },{ id:'000010000100027', pId:'0000100001', name:'zz01.dwg',url:'http://m.facezit.com/p-8407061.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'堵頭注塑模具設(shè)計(jì)論文.wps',url:'http://m.facezit.com/p-8407062.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'截圖247.png',url:'http://m.facezit.com/p-8407063.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'截圖248.png',url:'http://m.facezit.com/p-8407064.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'截圖249.png',url:'http://m.facezit.com/p-8407065.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'截圖250.png',url:'http://m.facezit.com/p-8407066.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'截圖251.png',url:'http://m.facezit.com/p-8407067.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'截圖252.png',url:'http://m.facezit.com/p-8407068.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'截圖253.png',url:'http://m.facezit.com/p-8407069.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'截圖254.png',url:'http://m.facezit.com/p-8407070.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'截圖255.png',url:'http://m.facezit.com/p-8407071.html', target:'_blank' }]; $(document).ready(function(){ if(JSON.stringify(zNodes)=="{}") { $("#ysyl").hide(); }else { $.fn.zTree.init($("#treeDemo"), setting, zNodes); $.fn.zTree.init($("#treeDemo2"), setting, zNodes2); } }); $(function() { $("#jubao input[type='radio']").click(function() { $("#hidTypeID").val($(this).val()); }); }); function jubao() { var userid = '0'; if (userid != "" && userid != undefined && userid != "0") { $("#jubao").show(); } else { alert("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7247088'; var type = $("#hidTypeID").val(); if (type != "" && type != undefined && bookid != "" && bookid != undefined) { $.ajax({ type: "post", url: "View.aspx/JuBao", data: "{bookid: '" + bookid + "', type: '" + type + "' }", contentType: "application/json; charset=utf-8", dataType: "json", success: function(data) { $("#jubao").hide(); $("#jubaoResponse").show(); if (data.d != "0") { $("#jubaoResponse h4").html("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請(qǐng)選擇投訴類(lèi)型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });