日期:2014-05-18  浏览次数:20464 次

求一个耐心的高手,指点一二,基本没有大问题就是有个bug我不明白
贴全代码太长了,我讲一下,贴一部分代码出来。
是一个房产网站。就是根据条件筛选出适合条件的房源。
其他功能都没有问题。点击那写区域。或者是价格。都可以正常显示。房源跟分页都显示。就是不能按照搜索框里的条件搜索。一搜索条数是出来了但是房源没有出来。
愿意帮我的 我留个qq号。385765907  

页面部分代码
C# code

<body onload="jugeButtom=0;GetSearchByWhere(1)">
 <form id="form1" runat="server">   
 <div style="width:100%; margin-left:20px; margin-right:20px;">
       <searTop:top ID="Top1" runat="server" />
  <div style="margin-left:auto; margin-right:auto; width:960px;">   
      <div style="">您的位置:首页 > 搜索房源 > 写字楼</div>
      <div style="width:100%;">
           <div id="s2" class="grid_8" style="height:27px; line-height:35px; width:100%; " >
                <table width="500" cellspacing="0" cellpadding="0">
               <!-- 搜索上面-->     <tr>
                      <td>
                         <label>  搜索:
                              <input type="text" name="keyword" id="keyword"   value="请输入房源名称、地域" onfocus='if(this.value=="请输入房源名称、地域")this.value="";' onblur='if(this.value=="")this.value="请输入房源名称、地域";' style="line-height:29px;" />
                         </label> 
                         <label>
                              <input type="button" name="put-in" id="put-in"  value="" style="cursor:pointer;" onclick="GetSearchByWhere(1);jugeButtom=0;" />
                         </label>
                      </td>
                   </tr>
              
               <!--关键字提示-->      <tr>
                   <td style="padding-left:43px;">
                       <div id="DownList" style="display:none;">
                           <table width="100%" cellpadding="2"></table>
                       </div>
                   </td>
               </tr>
                
        </table>
      </div>
  </div>
  <br />
  <br />
    <div id="SaleType" style="margin-top:5px;width:100%;font-weight:bold;font-size:14px;">类型:
     &nbsp;&nbsp;&nbsp;&nbsp;
    <a id="xzChu" style="color:Blue; font-weight:bold; font-size:14px;" href="javascript:;" onclick='GetSaleType("0");jQuery("#chuzu").attr("style","display:block;");jQuery("#chushou").css("display","none"); jQuery("#xzChu").css("font-weight","bold"); jQuery("#xzShou").css("font-weight","bold");  this.style.color="#ee0805";jQuery("#xzShou").css("color","Blue")'>写字楼出租</a> &nbsp;&nbsp;&nbsp;&nbsp;
    <a id="xzShou" style="color:Blue; font-weight:bold; font-size:14px;" href="javascript:;" onclick='GetSaleType("1");jQuery("#chuzu").css("display","none");jQuery("#chushou").css("display","block"); jQuery("#xzShou").css("font-weight","bold"); jQuery("#xzChu").css("font-weight","bold"); this.style.color="#ee0805";jQuery("#xzChu").css("color","Blue")'>写字楼出售</a> 
    </div> 


 javascript 代码

JScript code

                    香港全能空间 免费试用15天,送网站加速30M