anchor.diff:      <title><spring:message code="pjXm-info.pjXm-info.input.title"
                              text="编辑"/></title>
       <%@include file="/common/s.jsp" %>
  +
       <script type="text/javascript"
               src="${scopePrefix}/s/xthena/js/linkage.js"></script>
  +
       <link type="text/css" rel="stylesheet"
             href="${scopePrefix}/s/xthena/rypicker/rypicker.css">
  + 
       <script type="text/javascript"
               src="${scopePrefix}/s/xthena/rypicker/rypicker.js"></script>
  +
       <script type="text/javascript"
               src="${ctx}/s/xthena/js/jquery.PrintArea.js"></script>
  +
       <link type="text/css" rel="stylesheet"
             href="${scopePrefix}/s/xthena/htpicker/htpicker.css">
  +
       <script type="text/javascript"
               src="${scopePrefix}/s/xthena/htpicker/gchtpicker.js"></script>
  +
  +
       <script type="text/javascript">
           window.onload = function () {
               pc_init();
  
positive.code: <%
      pageContext.setAttribute("currentHeader", "gcgl-home");
  %>
  <%
      pageContext.setAttribute("currentMenu", "gcgl-zj");
  %>
  
negative.code:                 modalId: 'htPicker',
                  url: '${scopePrefix}/sckf/ht-simple-list.do'
              });
              $("#pjXm-info_fxmname").blur(function(){
                  Project_exist_validate();
              });
          });
  
          function printDiv() {
              $("div.content-inner").printArea();
          }
  
  
          //验证输入的工程名称是否已经存在于数据库
          function Project_exist_validate() {
              // 1获取文本框的内容
              // Jquery的查找节点的方式,参数中#加上id属性值可以找到一个节点
              var xmname = $("#pjXm-info_fxmname");
              var projectname = xmname.val();
              //使用jquery的XMLHTTPRequest对象get请求的封装
              $.ajax({
                  //type:"POST",   //http请求方式
                  //url:"${scopePrefix}/gcgl/pjXm-info-fxmname-validation.do", 发送给服务器的url
                  url:"pjXm-info-fxmname-validation.do",
                  data:{
                      projectName: $('#pjXm-info_fxmname').val()
                  }, //发送给服务器的参数
                  dataType:"json",  //告诉JQUERY返回的数据格式(注意此处数据格式一定要与提交的servlet返回的数据格式一致,不然不会调用callback)
                  async:false,
                  success:function(data) {
                      if (data==1){
                          alert("项目已存在于在建项目中，不可重复录入，请确认后输入！")
                          $('#pjXm-info_fxmname').val("").focus()
                      }
                      else{
  
                      }
                  },//定义交互完成,并且服务器正确返回数据时调用回调函数
                  error: function(data){
                      alert("error!")
                  }
  
              });
          }
      </script>
  </head>
  