关于jquery post的问题

本人现在在写一个数据提交回传的页面,现在前端页面是写好了,但是后台数据怎么将结果回传到这个页面呀,点击以后一直是正在查询中,无法获得回传的数据,
页面访问http://ceshi.xwjyz.com/paper/wanfang/
原始地址:http://wanfang.mflwjc.com/,哪位大哥可以帮忙看看,我后台应该怎么写才可以将数据回传啊!
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head id="Head1"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <link  rel="stylesheet" type="text/css">
    <link  rel="stylesheet" type="text/css">
    <link  rel="stylesheet" type="text/css">
    <link  rel="stylesheet" type="text/css">
    <script language="javascript" type="text/javascript" src="http://ceshi.xwjyz.com/paper/wanfang/images/jquery-1.js"></script>
    <script language="javascript" type="text/javascript" src="http://ceshi.xwjyz.com/paper/wanfang/images/jquery.js"></script>
    <script language="javascript" type="text/javascript" src="http://ceshi.xwjyz.com/paper/wanfang/images/jquery.artDialog.js"></script>
    <script language="javascript" type="text/javascript" src="http://ceshi.xwjyz.com/paper/wanfang/images/iframeTools.js"></script>
    <script language="javascript" type="text/javascript" src="http://ceshi.xwjyz.com/paper/wanfang/images/WdatePicker.js"></script><link  rel="stylesheet" type="text/css">
    <title>万方论文相似性检测系统</title>
    <style type="text/css">
        body
        {
            font-size: 12px;
        }
        body
        {
                        background-color:#FFF;
            width: 100%;
            height: auto;
            font-family: "微软雅黑";
        }
        #feedback
        {
            border: 1px solid #E2E2E2;
            font-size: 12px;
            line-height: 30px;
            position: fixed;
            right: 20px;
            text-align: center;
            top: 92%;
        }
        #feedback a
        {
            padding: 0 10px 0 40px;
            color: #fff;
            float: left;
            background-color: #FF5B00;
            background-image: url("images/join.png");
            background-repeat: no-repeat;
            background-position: 5px center;
        }
        #feedback a:hover
        {
            color: red;
            background-color: #fff;
            background-image: url("images/join.png");
            background-repeat: no-repeat;
            background-position: 5px center;
            text-decoration: none;
        }
        .orderCountSpan, .paperCountSpan
        {
            font-size: 18px;
            color: #030;
            font-weight: bold;
        }
        .down_report
        {
            padding: 15px 20px 8px 52px;
            margin-right: 5px;
            background: url("images/wfcopy_1.gif") no-repeat;
            background-position: 0 -436px;
            font-weight: bold;
            color: #039;
            display: block;
        }
        .greenBlock
        {
            background: url("images/paperpass_49.gif") no-repeat;
            color: #FFFFFF;
            height: 26px;
            font-size: 16px;
            line-height: 26px;
            width: 131px;
            text-align: center;
            display: block;
            margin: 5px auto;
        }
        .down_container{ width:450px;display:block; margin:20px auto; text-align:center;}
        .down_container p
        {
            float:left;
        }
         .down_container p a
         {
             display:block;
             width:145px;
         }
    </style>
    <script type="text/javascript">
<!--
    var taobaosaleURl="http://item.taobao.com/item.htm?spm=686.1000925.1000774.24.YNP5VF&id=24421328039";
        
//-->
    </script>
    <script language="javascript" type="text/javascript">
        String.prototype.trim = function () {
            var TempReg = new RegExp('(^\\s*)|(\\s*$)', 'gi');
            return this.replace(TempReg, "");
        }
        //she
        //设置输入框
        $(function () {
            var TempStr = $("#paper").val();
            $("#paper").focusin(function () {
                if ($("#paper").val() == TempStr) {
                    $(this).val("");
                }
            }).focusout(function () {
                if ($(this).val() == "") {
                    $(this).val(TempStr);
                }
            });

        });
        var down_container_str = '<div style="width: 850px;"> <table cellpadding="0" cellspacing="0" width="100%" style="border: 1px solid #CCC"> <tbody> <tr> <td width="131"> <span class="greenBlock">使用功能</span> </td> <td> <label>  论文相似度检测服务</label> </td> </tr> <tr> <td width="131"> <span class="greenBlock">检测范围</span> </td> <td> <label>  中国学术期刊数据库(CSPD)中国学位论文全文数据库(CDDB)中国学术会议论文数据库(CCPD)中国学术网页数据库(CSWD)</label> </td> </tr> </tbody> </table> <div style="border: 1px solid #CCC; margin: 15px auto; padding: 8px 4px;"> <p> 下载说明:</p> <p> 1:点击第一个"下载详细报告单PDF文件",可以将报告单下载保存到你的电脑上。</p> <p> 2:点击第二个"下载论文修改指导",可以下载论文修改指导,对你修改论文非常有用。</p> <p style="color: #95071B"> 学校是用知网检测系统检测,所以本报告只能作为论文修改的参考,修改论文之后建议使用知网检测,检测结果和学校是一样的</p> </div> <div style=" border-bottom:1px dotted #CCCCCC ;"> <div class="down_container"><p style="float: left"><a href="{down_url_link}" class="down_report" target="_blank">   下载详细报告PDF文件   </a></p><p style="float: left"><a href="lunwenzhidao.rar" class="down_report" target="_blank">   下载论文修改指导   </a></p><div style=" clear:both;"></div></div></div> <div style="color: #95071B"><p>如果下载报告单的过程中出现问题,请务必不要关闭浏览器,将遇到的问题,截图告诉客服。</p> <p>检测过程中如有任何不懂的问题,请通过QQ、旺旺等和客服联系</p> </div> </div>';
        //设置检测按钮
        $(function () {
            $("#start_check").click(function () {
                var paper = $.trim($("#paper").val());
                                var uid  = "8";
                                var hash_id = "1acshaoq6ukuu5650m";
                                var username = "ceshi";
                var paperLen = paper.length + (paper.split("\n").length > 0 ? paper.split("\n").length - 1 : 0);
                if (paperLen < 200) {
                    alert("请输入不小于200个字的内容"); return;
                }
                if (paperLen > 2000000) {
                    alert("您当前所输入的待检测文本过长,请重新输入。");
                    return;
                }
                //初始化一些值
                var BuyNum = Math.ceil(paperLen / 10000);
                $("#dialog_content_tmp .orderCountSpan").text(BuyNum);
                $("#dialog_content_tmp .paperCountSpan").text(paperLen);
                $("#orderId").val("");
                $.dialog({
                    id: "confirm_dialog_x",
                    content: $("#dialog_content_tmp").children().get(0),
                    okVal: "确认检测",
                    ok: function () {

                        var orderIDList = new Array();
                        var orderId = $("#orderId").val().replace(/\s/ig, "");
                        if (!orderId.match(/^\d+$/)) {
                            alert("请输入订单好,且订单号只能是数字");

                            return false;
                        }
                        //保存订单
                        orderIDList.push(orderId);
                        var orderId_2 = $("#orderId_2").val().replace(/\s/ig, "");
                        if (orderId_2) {
                            if (!orderId_2.match(/^\d+$/)) {
                                alert("订单号只能是数字");
                                return false;
                            }
                            orderIDList.push(orderId_2);
                        }
                        if (orderId == orderId_2) {
                            alert("两个订单号不能相同");
                            return false;
                        }
                        //缓存dialog
                        var loading_dialog_x = $.dialog({
                            id: "loading_dialog_x",
                            content: '<p align="center">正在查询,请不要关闭窗口',
                            lock: true
                        });
                                                //alert(orderIDList);
                                                
                        $.post("docheck.php", { "orderid": orderIDList, "paper": paper , "uid": uid,"hash_id": hash_id,"username":username}, function (data) {
                     //关闭加载弹出窗口
                                                        alert("创建流程成功!"); // John
                            loading_dialog_x.close();
                            if (!data.status) {
                                alert("网站后台出现错误,内容:" + data.info);
                                return;
                            }
                            $.dialog({
                                id: "downPDF_dialog",
                                content: down_container_str.replace("{down_url_link}", "/downpdf.aspx?path="+data.data),
                                cancel: true,
                                lock: true
                            });

                        }, "json");

                        return true;
                    },
                    cancel: true,
                    lock: true
                });
                //dialog结束
            });
            //start_check Click按钮结束
            $("#down_history_a").click(function () {
                var htmlstr = $("#content_divriqi").html();
                $.dialog({
                    id: "showriqiDialog",
                    content: htmlstr,
                    cancel: true,
                    lock: true
                });
                return;
            });
        });
        function check_report() {
            var dingdan = $("#dingdan_txt").val().trim();
            var DateVal = $("#mydate").val().trim();
            if (!DateVal || !dingdan) {
                alert("订单号,日期都不能为空"); return;
            }
            if (!DateVal.match(/^\d+$/g)) {
                alert("订单号,只能是数字"); return;
            }
            var domain = "";
            var DomainArr = location.host.split(".");
            if (DomainArr.length > 1 && DomainArr.length <=3 && DomainArr.length !=2) {

                domain = DomainArr[0] + "/";
            }

            $.dialog.get("showriqiDialog").close();
            $.dialog({
                id: "downPDF_dialog",
                //content: "<div><a href='pdf/" + domain + DateVal + "/" + dingdan + ".pdf' class='down_report' target='_blank'>   下载详细报告PDF文件   </a></div><div><a href='lunwenzhidao.rar' class='down_report' target='_blank'>   下载论文修改指导   </a></div>",
                content: down_container_str.replace("{down_url_link}", "/downpdf.aspx?path=pdf/" + domain + DateVal + "/" + dingdan + ".pdf"),
                cancel: true,
                lock: true
            });
        }
    </script>
</head>
<body><div style="display: none; position: absolute; " class=""><div class="aui_outer"><table class="aui_border"><tbody><tr><td class="aui_nw"></td><td class="aui_n"></td><td class="aui_ne"></td></tr><tr><td class="aui_w"></td><td class="aui_c"><div class="aui_inner"><table class="aui_dialog"><tbody><tr><td colspan="2" class="aui_header"><div class="aui_titleBar"><div class="aui_title" style="cursor: move; "></div><a class="aui_close" href="javascript:void();" style="">×</a></div></td></tr><tr><td class="aui_icon" style="display: none; "><div class="aui_iconBg" style="background-image: none; background-position: initial initial; background-repeat: initial initial; "></div></td><td class="aui_main" style="width: auto; height: auto; "><div class="aui_content" style="padding: 20px 25px; "></div></td></tr><tr><td colspan="2" class="aui_footer"><div class="aui_buttons" style=""></div></td></tr></tbody></table></div></td><td class="aui_e"></td></tr><tr><td class="aui_sw"></td><td class="aui_s"></td><td class="aui_se" style="cursor: se-resize; "></td></tr></tbody></table></div></div>
    <div id="wf_body_content" style="width: 1010px; margin: 0 auto; background: #FFFFFF;
        border: 0px solid #3399FF">
        <!-- header开始 -->
      <div id="wf_header">
            <div class="clear">
            </div>
            <div class="logo_check">
                <div style="float: left">
                    <a href="javascript:void(0)" class="wflogo_check" title="万方数据论文相似性检测系统"></a>
                </div>
                <div style="float: right; background-color: #ffffff; width: 600px; height: 80px;
                    text-align: right">
                </div>
            </div>
            <div class="clear">
            </div>
        </div>
        <!--header结束-->
        <div id="content_div" class="clear">
            <div id="paerpass_n">
                <div id="paerpass_nav">
                    <ul>
                        <li class="paerpass_nav_1"><a href="">主页</a></li>
                        <li class="paerpass_nav_2"><a id="down_history_a" href="javascript:void(0);">查看已提交报告</a></li>
                    </ul>
                </div>
                <div id="paerpass_jindu">
                    <div class="paerpass_jindu_n">
                        <ul>
                            <li id="paerpass_jindu_1">粘贴论文相关内容</li>
                            <li id="paerpass_jindu_2">检测字数</li>
                            <li id="paerpass_jindu_3">粘贴淘宝订单单号</li>
                            <li id="paerpass_jindu_4">开始检测</li>
                            <li id="paerpass_jindu_5">下载检测报告</li>
                        </ul>
                    </div>
                    <div class="paerpass_jindu_pic">
                        <table cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td>
                                    <img src="http://ceshi.xwjyz.com/paper/wanfang/images/paperpass_26.gif">
                                </td>
                                <td>
                                    <img src="http://ceshi.xwjyz.com/paper/wanfang/images/paperpass_27.jpg">
                                </td>
                            </tr>
                        </tbody></table>
                    </div>
                    <div class="cls">
                    </div>
                </div>
                <div class="cls">
                </div>
            </div>
            <form name="checkform" method="post" action="http://ceshi.xwjyz.com/paper/" id="checkform" target="_self">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="">
</div>

            
            <div id="dialog_content_tmp" style="display: none;">
                <table cellpadding="0" cellspacing="0" style="">
                    <tbody>
                        <tr>
                            <td width="131">
                                <span class="greenBlock">使用功能</span>
                            </td>
                            <td colspan="4">
                                <label>
                                     论文相似度检测服务</label>
                            </td>
                        </tr>
                        <tr>
                            <td width="131">
                                <span class="greenBlock">检测范围</span>
                            </td>
                            <td colspan="4">
                                <label>
                                     中国学术期刊数据库(CSPD)中国学位论文全文数据库(CDDB)中国学术会议论文数据库(CCPD)中国学术网页数据库(CSWD)</label>
                            </td>
                        </tr>
                        <tr>
                            <td width="131">
                                <span class="greenBlock">检测字数</span>
                            </td>
                            <td width="120">
                                 <span class="paperCountSpan">1900</span>字
                            </td>
                            <td width="131">
                                <span class="greenBlock">数量选择</span>
                            </td>
                            <td>
                                 <span class="orderCountSpan">1</span>件
                            </td>
                            <td>
                                <a  target="_blank" style="display: block;">
                                    <img src="http://ceshi.xwjyz.com/paper/wanfang/images/buy.png" border="0" alt="去淘宝拍宝贝" height="26" width="126"></a>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="5">
                                <div style="padding: 15px 0px; color: #C46C0E; border-top: 1px solid #CCCCCC;">
                                    提示:订单编号至少填写一个,如果第一个订单编号的金额不够,可以添加第二个,系统会自动合并计算金额</div>
                            </td>
                        </tr>
                        <tr>
                            <td width="131">
                                <span class="greenBlock">订单号1:</span>
                            </td>
                            <td>
                                <div style="padding: 5px;">
                                    <input type="text" id="orderId" name="orderId"></div>
                            </td>
                        </tr>
                        <tr>
                            <td width="131">
                                <span class="greenBlock">订单号2:</span>
                            </td>
                            <td>
                                <div style="padding: 5px;">
                                    <input type="text" id="orderId_2" name="orderId_2"></div>                
                            </td>
                        </tr>
                    </tbody>
                </table>

            </div>
            <div id="wanfang_nav3">
                <div id="wanfang_nav3_left">
                    请输入内容</div>
                <div id="wanfang_nav3_right" style="width: auto;">
                    <ul>
                        <li class="wanfang_nav3_1"></li>
                        <li class="wanfang_nav3_2"><a target="_blank" ><img border="0" src="http://wpa.qq.com/pa?p=2:670023853:41" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
                        <li class="wanfang_nav3_3"><a target="_blank"  ><img border="0" src="http://amos.alicdn.com/online.aw?v=2&uid=xiaowaijiance&site=cntaobao&s=1&charset=utf-8" alt="点击这里给我发消息" /></a></li>
                        
                    </ul>
                    <div class="cls">
                    </div>
                </div>
                <div class="cls">
                </div>
            </div>
            <div id="uploaddivc">
                <div class="wanfang_youq">
                    提示:系统在检测时会分析论文的前后文关系,所以请您提交论文的全部内容,如果是非全文的检测将不能保证检测的准确性。 第一位是主订单<br>
                    重要提醒:系统仅支持中文论文(包括简体、繁体)的检测,暂不支持英语等非中文论文的检测,请勿提交非中文论文!
                    <br>
                </div>
                <p>
                    <textarea cols="100" rows="20" name="paper" id="paper" class="textbox_1 watermark">请输入至少200字的文本内容</textarea></p>
                <h2>
                    <table>
                        
                    </table>
                </h2>
                <div id="lunwen_button">
                    <a href="javascript:void(0)" id="start_check">
                        <img src="http://ceshi.xwjyz.com/paper/wanfang/images/paperpass_53.gif"></a></div>
            </div>
            </form>
            <div class="clear-float">
            </div>
        </div>
        <div class="clear-float">
        </div>
    </div>
    <!--footer开始-->
    <div id="footer_table">
<div id="footer_div">
<table class="footer_tab" border="0" cellpadding="0" cellspacing="0">
  <tbody><tr>
    <th scope="col"><t>客户服务</t></th>
    <th scope="col"><t>关注我们</t></th>
    <th scope="col"><t>广告服务</t></th>
    <th scope="col"><t>网上商城</t></th>
    <th scope="col"><t>使用帮助</t></th>
    <th scope="col"><t>语种</t></th>
  </tr>
<tr>
<td class="service_td">
    <ul>
    <li><t>邮箱</t><a href="mailto:service@wanfangdata.com.cn">[email]service@wanfangdata.com.cn[/email]</a></li>
    <li><t>客服电话</t> 4000-115-888<br>
   8:00-11:30,13:00-17:00(<t>工作日</t>)<br>
    8:30-11:30,13:00-16:30(<t>节假日</t>)</li>
    <li><t>服务投诉</t>:010-58882278 <a href="mailto:problem@wanfangdata.com.cn">[email]problem@wanfangdata.com.cn[/email]</a></li>
    </ul>
    </td>
    <td>
    <ul>
    <li><a href="javascript:void(0)"><t>新浪微博</t></a></li>
    <li><a href="javascript:void(0)"><t>平台百科</t></a></li>
    <li><a href="javascript:void(0)"><t>《知予万方》专刊</t></a></li>
    <li><a href="javascript:void(0)"><t>数图新服务应用研讨班</t></a></li>
    </ul>
    </td>
    <td>
    <ul>
    <li><a href="javascript:void(0)"><t>广告形式</t></a></li>
    <li><a href="javascript:void(0)"><t>价格体系</t></a></li>
    <li><a href="javascript:void(0)"><t>广告申请</t></a></li>
    <li><a href="javascript:void(0)"><t>服务保障</t></a></li>
    <li><a href="javascript:void(0)"><t>联系方式</t></a></li>
    </ul>
    </td>
    <td>
    <ul>
    <li><a href="javascript:void(0)"><t>充值卡</t></a></li>
    <li><a href="javascript:void(0)"><t>万方数据MID</t></a></li>
    <li><a href="javascript:void(0)"><t>知识服务卡</t></a></li>    
    </ul>
    </td>
    <td>
    <ul>
    <li><a href="javascript:void(0)"><t>注册和登录</t></a></li>
    <li><a href="javascript:void(0)"><t>检索文献</t></a></li>
    <li><a href="javascript:void(0)"><t>如何支付</t></a></li>
    <li><a href="javascript:void(0)"><t>如何充值</t></a></li>
    <li><a href="javascript:void(0)"><t>下载和查看</t></a></li>
    </ul>
    </td>
    <td class="language_td">
    <ul>
<li><a href="javascript:void(0)" id="zh-CN" name="multiLanguageSwitch">简体中文</a></li>
<li><a href="javascript:void(0)" id="zh-TW" name="multiLanguageSwitch">繁體中文</a></li>
<li><a href="javascript:void(0)">English</a></li>
</ul>

    </td>
    </tr></tbody></table>
<div id="foot_text">
    <p>
  <a href="javascript:void(0)"><t>意见反馈</t></a>|
  <a href="javascript:void(0)"><t>知识产权声明</t></a>|
  <a href="javascript:void(0)"><t>服务承诺</t></a>| 
  <a href="javascript:void(0)"><t>联系我们</t></a>|
  <a href="javascript:void(0)"><t>人才招聘</t></a>|
  <a href="javascript:void(0)"><t>客户服务</t></a>|
  <a href="javascript:void(0)"><t>关于我们</t></a>  
</p>
<p>  
  <t>京ICP证</t>:010071  <t>互联网出版许可证:新出网证(京)字042号</t>  <t>北京市公安局海淀分局备案编号</t>:110108901585
  <br><t>万方数据知识服务平台--国家科技支撑计划资助项目(编号:2006BAH03B01)©北京万方数据股份有限公司  万方数据电子出版社</t>
  <script type="text/javascript" src="http://ceshi.xwjyz.com/paper/wanfang/images/tongji.js"></script><noscript>&lt;a &gt;&lt;img src="http://img.tongji.linezing.com/2969279/tongji.gif"/&gt;&lt;/a&gt;</noscript>
  <span></span>
</p>
</div>
</div></div>
    <div style="visibility: hidden">
        <iframe id="wfiframe" name="wfiframe" allowtransparency="true" height="0" marginwidth="0" marginheight="0" scrolling="no" frameborder="no" border="0"></iframe>
    </div>
    <div id="content_divriqi" style="display: none;">
        <div id="uploaddivriqi">
            <h2>
                查询历史检测报告:</h2>
            <table width="100%" cellpadding="0" cellspacing="0"><tbody><tr><td>
            淘宝订单号:<input type="text" id="dingdan_txt" name="downId" value="">
            日期:<input id="mydate" class="Wdate" type="text" name="mydate" width="200px" value="">
            <img src="http://ceshi.xwjyz.com/paper/wanfang/images/calendar.gif" width="16" height="16" border="0"></td><td>
            <a href="javascript:void(0)" style="height:30px; line-height:30px; display:block;" id="chaxun_button_id" class="button_1"><img src="http://ceshi.xwjyz.com/paper/wanfang/images/find.png" border="0" alt="立即查询" height="30" width="99"></a>  
            </td></tr></tbody></table>
                      
        </div>
        <div class="uploaddiv" style="padding-top: 10px;">
            <span style="font-size: 12px; color: #4AA514">支持查询历史订单,如是合并订单交易,填写其中一个订单号即可。 </span>
        </div>
        <div class="clear-float">
        </div>
    </div>


<div style="display: none; position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; cursor: move; opacity: 0; background-color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial; "></div><div id="_my97DP" style="position: absolute; top: -1970px; left: -1970px; "><iframe style="width: 186px; height: 198px; " src="http://ceshi.xwjyz.com/paper/wanfang/images/My97DatePicker.htm" frameborder="0" border="0" scrolling="no"></iframe></div></body></html>

作者: zoneboys   发布时间: 2013-04-29

提问粘贴的代码保留关键部分即可,何必为难近视眼。

作者: chenyachao   发布时间: 2013-05-02