'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'多關(guān)節(jié)魚(yú)形機(jī)器的設(shè)計(jì)【通過(guò)答辯畢業(yè)論文cad圖紙三維建模】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'3D-UG (包含150個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'duo (包含14個(gè)文件)', },{ id:'000010000100001', pId:'0000100001', name:'duo.afu (1KB)', },{ id:'000010000100002', pId:'0000100001', name:'fangxiangduo.bmp (1143KB)', click:'getBookinfo(8522931)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'fangxiangduo.jpg (145KB)', click:'getBookinfo(8522932)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'motion_1-solution_1.msg (23KB)', },{ id:'000010000100005', pId:'0000100001', name:'motion_1-solution_1.rad (100KB)', },{ id:'000010000100006', pId:'0000100001', name:'motion_1-solution_1.rmd (17KB)', },{ id:'000010000100007', pId:'0000100001', name:'motion_1-solution_1.rplt (135KB)', },{ id:'000010000100008', pId:'0000100001', name:'motion_1-solution_2.msg (20KB)', },{ id:'000010000100009', pId:'0000100001', name:'motion_1-solution_2.rad (79KB)', },{ id:'000010000100010', pId:'0000100001', name:'motion_1-solution_2.rmd (13KB)', },{ id:'000010000100011', pId:'0000100001', name:'motion_1-solution_2.rplt (102KB)', },{ id:'000010000100012', pId:'0000100001', name:'motion_1.sim (172KB)', },{ id:'000010000100013', pId:'0000100001', name:'升降舵.mpg (2104KB)', },{ id:'000010000100014', pId:'0000100001', name:'方向舵.wmv (1286KB)', },{ id:'0000100002', pId:'00001', name:'1.prt (120KB)', },{ id:'0000100003', pId:'00001', name:'2.prt (216KB)', },{ id:'0000100004', pId:'00001', name:'3.prt (268KB)', },{ id:'0000100005', pId:'00001', name:'4.prt (280KB)', },{ id:'0000100006', pId:'00001', name:'a.prt (520KB)', },{ id:'0000100007', pId:'00001', name:'b.prt (600KB)', },{ id:'0000100008', pId:'00001', name:'bd tl.prt (356KB)', },{ id:'0000100009', pId:'00001', name:'bd_parts01.prt (672KB)', },{ id:'0000100010', pId:'00001', name:'bd_parts02.prt (268KB)', },{ id:'0000100011', pId:'00001', name:'bd_parts03.prt (156KB)', },{ id:'0000100012', pId:'00001', name:'bd_parts04.prt (324KB)', },{ id:'0000100013', pId:'00001', name:'bd_parts05.prt (136KB)', },{ id:'0000100014', pId:'00001', name:'bd_parts06.prt (224KB)', },{ id:'0000100015', pId:'00001', name:'bd_parts07.prt (136KB)', },{ id:'0000100016', pId:'00001', name:'bd_parts08.prt (184KB)', },{ id:'0000100017', pId:'00001', name:'bd_parts09.prt (284KB)', },{ id:'0000100018', pId:'00001', name:'bd_parts10prt.prt (712KB)', },{ id:'0000100019', pId:'00001', name:'bd_parts11.prt (444KB)', },{ id:'0000100020', pId:'00001', name:'bd_parts12-13.prt (348KB)', },{ id:'0000100021', pId:'00001', name:'bd_parts14-15.prt (684KB)', },{ id:'0000100022', pId:'00001', name:'bd_parts16-17.prt (852KB)', },{ id:'0000100023', pId:'00001', name:'bd_parts18-19.prt (708KB)', },{ id:'0000100024', pId:'00001', name:'bd_parts20-21.prt (816KB)', },{ id:'0000100025', pId:'00001', name:'bd_parts22-23.prt (584KB)', },{ id:'0000100026', pId:'00001', name:'bd_parts24-25.prt (584KB)', },{ id:'0000100027', pId:'00001', name:'bd_parts26-27.prt (388KB)', },{ id:'0000100028', pId:'00001', name:'bd_parts28-29.prt (508KB)', },{ id:'0000100029', pId:'00001', name:'bd_parts30-31.prt (468KB)', },{ id:'0000100030', pId:'00001', name:'bt.prt (116KB)', },{ id:'0000100031', pId:'00001', name:'bt_others.prt (180KB)', },{ id:'0000100032', pId:'00001', name:'bt_parts01.prt (280KB)', },{ id:'0000100033', pId:'00001', name:'bt_parts02.prt (236KB)', },{ id:'0000100034', pId:'00001', name:'bt_parts03.prt (196KB)', },{ id:'0000100035', pId:'00001', name:'bt_parts04.prt (264KB)', },{ id:'0000100036', pId:'00001', name:'bt_parts05.prt (196KB)', },{ id:'0000100037', pId:'00001', name:'ct_parts01.prt (432KB)', },{ id:'0000100038', pId:'00001', name:'ct_parts02.prt (212KB)', },{ id:'0000100039', pId:'00001', name:'ct_parts03.prt (240KB)', },{ id:'0000100040', pId:'00001', name:'ct_parts04.prt (236KB)', },{ id:'0000100041', pId:'00001', name:'ct_parts05.prt (236KB)', },{ id:'0000100042', pId:'00001', name:'ct_parts06.prt (220KB)', },{ id:'0000100043', pId:'00001', name:'ct_parts06a.prt (220KB)', },{ id:'0000100044', pId:'00001', name:'ct_parts07.prt (236KB)', },{ id:'0000100045', pId:'00001', name:'ct_parts08.prt (236KB)', },{ id:'0000100046', pId:'00001', name:'ct_parts09.prt (208KB)', },{ id:'0000100047', pId:'00001', name:'ct_parts10.prt (324KB)', },{ id:'0000100048', pId:'00001', name:'ct_parts11.prt (104KB)', },{ id:'0000100049', pId:'00001', name:'ct_parts12.prt (104KB)', },{ id:'0000100050', pId:'00001', name:'ct_parts13.prt (220KB)', },{ id:'0000100051', pId:'00001', name:'ct_parts14.prt (208KB)', },{ id:'0000100052', pId:'00001', name:'ct_parts15.prt (208KB)', },{ id:'0000100053', pId:'00001', name:'ct_parts16.prt (392KB)', },{ id:'0000100054', pId:'00001', name:'ct_parts17.prt (200KB)', },{ id:'0000100055', pId:'00001', name:'d.prt (592KB)', },{ id:'0000100056', pId:'00001', name:'dianji.prt (316KB)', },{ id:'0000100057', pId:'00001', name:'dj1.prt (292KB)', },{ id:'0000100058', pId:'00001', name:'dj10.prt (196KB)', },{ id:'0000100059', pId:'00001', name:'dj11.prt (208KB)', },{ id:'0000100060', pId:'00001', name:'dj12.prt (192KB)', },{ id:'0000100061', pId:'00001', name:'dj13.prt (176KB)', },{ id:'0000100062', pId:'00001', name:'dj14.prt (236KB)', },{ id:'0000100063', pId:'00001', name:'dj2.prt (116KB)', },{ id:'0000100064', pId:'00001', name:'dj4.prt (236KB)', },{ id:'0000100065', pId:'00001', name:'dj5.prt (104KB)', },{ id:'0000100066', pId:'00001', name:'dj6.prt (160KB)', },{ id:'0000100067', pId:'00001', name:'dj7.prt (232KB)', },{ id:'0000100068', pId:'00001', name:'dj8.prt (100KB)', },{ id:'0000100069', pId:'00001', name:'dj9.prt (88KB)', },{ id:'0000100070', pId:'00001', name:'duo.prt (216KB)', },{ id:'0000100071', pId:'00001', name:'duoji.prt (528KB)', },{ id:'0000100072', pId:'00001', name:'duoji1.prt (536KB)', },{ id:'0000100073', pId:'00001', name:'model1.prt (192KB)', },{ id:'0000100074', pId:'00001', name:'model10.prt (316KB)', },{ id:'0000100075', pId:'00001', name:'model11.prt (144KB)', },{ id:'0000100076', pId:'00001', name:'model12.prt (140KB)', },{ id:'0000100077', pId:'00001', name:'model13.prt (460KB)', },{ id:'0000100078', pId:'00001', name:'model14.prt (460KB)', },{ id:'0000100079', pId:'00001', name:'model15.prt (292KB)', },{ id:'0000100080', pId:'00001', name:'model16.prt (216KB)', },{ id:'0000100081', pId:'00001', name:'model2(1).prt (220KB)', },{ id:'0000100082', pId:'00001', name:'model2(2).prt (164KB)', },{ id:'0000100083', pId:'00001', name:'model3.prt (696KB)', },{ id:'0000100084', pId:'00001', name:'model4.prt (144KB)', },{ id:'0000100085', pId:'00001', name:'model5.prt (96KB)', },{ id:'0000100086', pId:'00001', name:'model6.prt (812KB)', },{ id:'0000100087', pId:'00001', name:'model7.prt (212KB)', },{ id:'0000100088', pId:'00001', name:'model8.prt (280KB)', },{ id:'0000100089', pId:'00001', name:'model9.prt (388KB)', },{ id:'0000100090', pId:'00001', name:'motion_1.gif (233KB)', click:'getBookinfo(8522933)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100091', pId:'00001', name:'pizi.prt (244KB)', },{ id:'0000100092', pId:'00001', name:'pw_parts01.prt (476KB)', },{ id:'0000100093', pId:'00001', name:'pw_parts02.prt (216KB)', },{ id:'0000100094', pId:'00001', name:'pw_parts03.prt (276KB)', },{ id:'0000100095', pId:'00001', name:'pw_parts04.prt (316KB)', },{ id:'0000100096', pId:'00001', name:'pw_parts05.prt (316KB)', },{ id:'0000100097', pId:'00001', name:'pw_parts06.prt (136KB)', },{ id:'0000100098', pId:'00001', name:'pw_parts07.prt (160KB)', },{ id:'0000100099', pId:'00001', name:'pw_parts08.prt (212KB)', },{ id:'0000100100', pId:'00001', name:'pw_parts09.prt (124KB)', },{ id:'0000100101', pId:'00001', name:'pw_parts10.prt (120KB)', },{ id:'0000100102', pId:'00001', name:'pw_parts11.prt (120KB)', },{ id:'0000100103', pId:'00001', name:'pw_parts12.prt (120KB)', },{ id:'0000100104', pId:'00001', name:'pw_parts20.prt (260KB)', },{ id:'0000100105', pId:'00001', name:'pw_parts21.prt (116KB)', },{ id:'0000100106', pId:'00001', name:'pw_parts22.prt (136KB)', },{ id:'0000100107', pId:'00001', name:'pw_parts23.prt (332KB)', },{ id:'0000100108', pId:'00001', name:'pw_parts24.prt (368KB)', },{ id:'0000100109', pId:'00001', name:'pw_parts25.prt (340KB)', },{ id:'0000100110', pId:'00001', name:'pw_parts26.prt (108KB)', },{ id:'0000100111', pId:'00001', name:'pw_parts27.prt (176KB)', },{ id:'0000100112', pId:'00001', name:'pw_parts28.prt (212KB)', },{ id:'0000100113', pId:'00001', name:'pw_parts29.prt (204KB)', },{ id:'0000100114', pId:'00001', name:'pw_parts30.prt (204KB)', },{ id:'0000100115', pId:'00001', name:'pw_parts31.prt (248KB)', },{ id:'0000100116', pId:'00001', name:'pw_parts32.prt (200KB)', },{ id:'0000100117', pId:'00001', name:'pw_parts33.prt (200KB)', },{ id:'0000100118', pId:'00001', name:'pw_parts34.prt (120KB)', },{ id:'0000100119', pId:'00001', name:'pw_parts35.prt (248KB)', },{ id:'0000100120', pId:'00001', name:'pw_parts36.prt (160KB)', },{ id:'0000100121', pId:'00001', name:'rc-model1.prt (940KB)', },{ id:'0000100122', pId:'00001', name:'rc-model2.prt (1168KB)', },{ id:'0000100123', pId:'00001', name:'rc-model3.prt (184KB)', },{ id:'0000100124', pId:'00001', name:'rc-model4.prt (176KB)', },{ id:'0000100125', pId:'00001', name:'rc-model5.prt (172KB)', },{ id:'0000100126', pId:'00001', name:'rc-model6.prt (208KB)', },{ id:'0000100127', pId:'00001', name:'rc-model7.prt (176KB)', },{ id:'0000100128', pId:'00001', name:'rc.prt (112KB)', },{ id:'0000100129', pId:'00001', name:'shengjiangduo.jpg (150KB)', click:'getBookinfo(8522934)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100130', pId:'00001', name:'z.prt (144KB)', },{ id:'0000100131', pId:'00001', name:'z1.prt (148KB)', },{ id:'0000100132', pId:'00001', name:'zhengtifangzhen.prt (356KB)', },{ id:'0000100133', pId:'00001', name:'zhuangpei1.prt (148KB)', },{ id:'0000100134', pId:'00001', name:'zhuangpei2.prt (116KB)', },{ id:'0000100135', pId:'00001', name:'zhuangpeitu.stp (15835KB)', },{ id:'0000100136', pId:'00001', name:'zp1.prt (128KB)', },{ id:'00002', pId:'1', name:'CAD圖紙 (包含14個(gè)文件)', },{ id:'0000200001', pId:'00002', name:'總裝圖.dwg (153KB)', click:'getBookinfo(8522935)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200002', pId:'00002', name:'總裝圖.gif (21KB)', click:'getBookinfo(8522936)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200003', pId:'00002', name:'方向控制部裝圖.dwg (97KB)', click:'getBookinfo(8522937)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200004', pId:'00002', name:'方向控制部裝圖.gif (14KB)', click:'getBookinfo(8522938)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200005', pId:'00002', name:'機(jī)殼.dwg (62KB)', click:'getBookinfo(8522939)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200006', pId:'00002', name:'機(jī)殼.gif (12KB)', click:'getBookinfo(8522940)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200007', pId:'00002', name:'機(jī)殼端蓋.dwg (65KB)', click:'getBookinfo(8522941)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200008', pId:'00002', name:'機(jī)殼端蓋.gif (12KB)', click:'getBookinfo(8522942)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200009', pId:'00002', name:'電源殼.dwg (63KB)', click:'getBookinfo(8522943)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200010', pId:'00002', name:'電源殼.gif (12KB)', click:'getBookinfo(8522944)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200011', pId:'00002', name:'舵機(jī)殼.dwg (63KB)', click:'getBookinfo(8522945)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200012', pId:'00002', name:'舵機(jī)殼.gif (12KB)', click:'getBookinfo(8522946)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200013', pId:'00002', name:'舵機(jī)殼端蓋.dwg (71KB)', click:'getBookinfo(8522947)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200014', pId:'00002', name:'舵機(jī)殼端蓋.gif (13KB)', click:'getBookinfo(8522948)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'任務(wù)書(shū).doc (31KB)', click:'getBookinfo(8522949)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'外文翻譯.doc (823KB)', click:'getBookinfo(8522950)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'多關(guān)節(jié)魚(yú)形機(jī)器的設(shè)計(jì).doc (4198KB)', click:'getBookinfo(8522951)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'開(kāi)題報(bào)告.doc (47KB)', click:'getBookinfo(8522952)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'總裝圖-A0.dwg (143KB)', click:'getBookinfo(8522953)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'方向控制模塊部裝圖-A1.dwg (100KB)', click:'getBookinfo(8522954)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'畢業(yè)論文.doc (3993KB)', click:'getBookinfo(8522955)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'電機(jī)盒-A3.dwg (60KB)', click:'getBookinfo(8522956)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'電機(jī)盒端蓋-A3.dwg (63KB)', click:'getBookinfo(8522957)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'電源盒部裝圖-A2.dwg (66KB)', click:'getBookinfo(8522958)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'相關(guān)資料.doc (877KB)', click:'getBookinfo(8522959)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'舵機(jī)盒-A3.dwg (60KB)', click:'getBookinfo(8522960)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'舵機(jī)盒端蓋-A3.dwg (66KB)', click:'getBookinfo(8522961)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'計(jì)劃周記進(jìn)度檢查表.xls (16KB)', click:'getBookinfo(8522962)', icon:'/Images/filetype/XLS16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'多關(guān)節(jié)魚(yú)形機(jī)器的設(shè)計(jì)【通過(guò)答辯畢業(yè)論文cad圖紙三維建?!?rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'fangxiangduo.bmp',url:'http://www.nydnatest.com/p-8522931.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'fangxiangduo.jpg',url:'http://www.nydnatest.com/p-8522932.html', target:'_blank' },{ id:'0000100090', pId:'00001', name:'motion_1.gif',url:'http://www.nydnatest.com/p-8522933.html', target:'_blank' },{ id:'0000100129', pId:'00001', name:'shengjiangduo.jpg',url:'http://www.nydnatest.com/p-8522934.html', target:'_blank' },{ id:'0000200001', pId:'00002', name:'總裝圖.dwg',url:'http://www.nydnatest.com/p-8522935.html', target:'_blank' },{ id:'0000200002', pId:'00002', name:'總裝圖.gif',url:'http://www.nydnatest.com/p-8522936.html', target:'_blank' },{ id:'0000200003', pId:'00002', name:'方向控制部裝圖.dwg',url:'http://www.nydnatest.com/p-8522937.html', target:'_blank' },{ id:'0000200004', pId:'00002', name:'方向控制部裝圖.gif',url:'http://www.nydnatest.com/p-8522938.html', target:'_blank' },{ id:'0000200005', pId:'00002', name:'機(jī)殼.dwg',url:'http://www.nydnatest.com/p-8522939.html', target:'_blank' },{ id:'0000200006', pId:'00002', name:'機(jī)殼.gif',url:'http://www.nydnatest.com/p-8522940.html', target:'_blank' },{ id:'0000200007', pId:'00002', name:'機(jī)殼端蓋.dwg',url:'http://www.nydnatest.com/p-8522941.html', target:'_blank' },{ id:'0000200008', pId:'00002', name:'機(jī)殼端蓋.gif',url:'http://www.nydnatest.com/p-8522942.html', target:'_blank' },{ id:'0000200009', pId:'00002', name:'電源殼.dwg',url:'http://www.nydnatest.com/p-8522943.html', target:'_blank' },{ id:'0000200010', pId:'00002', name:'電源殼.gif',url:'http://www.nydnatest.com/p-8522944.html', target:'_blank' },{ id:'0000200011', pId:'00002', name:'舵機(jī)殼.dwg',url:'http://www.nydnatest.com/p-8522945.html', target:'_blank' },{ id:'0000200012', pId:'00002', name:'舵機(jī)殼.gif',url:'http://www.nydnatest.com/p-8522946.html', target:'_blank' },{ id:'0000200013', pId:'00002', name:'舵機(jī)殼端蓋.dwg',url:'http://www.nydnatest.com/p-8522947.html', target:'_blank' },{ id:'0000200014', pId:'00002', name:'舵機(jī)殼端蓋.gif',url:'http://www.nydnatest.com/p-8522948.html', target:'_blank' },{ id:'00003', pId:'1', name:'任務(wù)書(shū).doc',url:'http://www.nydnatest.com/p-8522949.html', target:'_blank' },{ id:'00004', pId:'1', name:'外文翻譯.doc',url:'http://www.nydnatest.com/p-8522950.html', target:'_blank' },{ id:'00005', pId:'1', name:'多關(guān)節(jié)魚(yú)形機(jī)器的設(shè)計(jì).doc',url:'http://www.nydnatest.com/p-8522951.html', target:'_blank' },{ id:'00006', pId:'1', name:'開(kāi)題報(bào)告.doc',url:'http://www.nydnatest.com/p-8522952.html', target:'_blank' },{ id:'00007', pId:'1', name:'總裝圖-A0.dwg',url:'http://www.nydnatest.com/p-8522953.html', target:'_blank' },{ id:'00008', pId:'1', name:'方向控制模塊部裝圖-A1.dwg',url:'http://www.nydnatest.com/p-8522954.html', target:'_blank' },{ id:'00009', pId:'1', name:'畢業(yè)論文.doc',url:'http://www.nydnatest.com/p-8522955.html', target:'_blank' },{ id:'00010', pId:'1', name:'電機(jī)盒-A3.dwg',url:'http://www.nydnatest.com/p-8522956.html', target:'_blank' },{ id:'00011', pId:'1', name:'電機(jī)盒端蓋-A3.dwg',url:'http://www.nydnatest.com/p-8522957.html', target:'_blank' },{ id:'00012', pId:'1', name:'電源盒部裝圖-A2.dwg',url:'http://www.nydnatest.com/p-8522958.html', target:'_blank' },{ id:'00013', pId:'1', name:'相關(guān)資料.doc',url:'http://www.nydnatest.com/p-8522959.html', target:'_blank' },{ id:'00014', pId:'1', name:'舵機(jī)盒-A3.dwg',url:'http://www.nydnatest.com/p-8522960.html', target:'_blank' },{ id:'00015', pId:'1', name:'舵機(jī)盒端蓋-A3.dwg',url:'http://www.nydnatest.com/p-8522961.html', target:'_blank' },{ id:'00016', pId:'1', name:'計(jì)劃周記進(jìn)度檢查表.xls',url:'http://www.nydnatest.com/p-8522962.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 = '7260205'; 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)選擇投訴類型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });