| ");
function cherkAcreagePrice(text){ var objlist = document.getElementById('ddlDetails'); for(var i =objlist.options.length-1;i>=0;i--) { objlist.remove(i); } if(text=='户型') { var newOption = document.createElement('OPTION'); newOption.text='户型不限'; newOption.value='户型不限'; objlist.options.add(newOption); var newOption = document.createElement('OPTION'); newOption.text='一室'; newOption.value='一室'; objlist.options.add(newOption); var newOption = document.createElement('OPTION'); newOption.text='二室'; newOption.value='二室'; objlist.options.add(newOption); var newOption = document.createElement('OPTION'); newOption.text='三室'; newOption.value='三室'; objlist.options.add(newOption); var newOption = document.createElement('OPTION'); newOption.text='四室'; newOption.value='四室'; objlist.options.add(newOption); } else { var newOption = document.createElement('OPTION'); newOption.text='租金不限'; newOption.value='租金不限'; objlist.options.add(newOption); var newOption = document.createElement('OPTION'); newOption.text='500以内'; newOption.value='500以内'; objlist.options.add(newOption); var newOption = document.createElement('OPTION'); newOption.text='500-1000'; newOption.value='500-1000'; objlist.options.add(newOption); var newOption = document.createElement('OPTION'); newOption.text='1000-1500'; newOption.value='1000-1500'; objlist.options.add(newOption); var newOption = document.createElement('OPTION'); newOption.text='1500-2000'; newOption.value='1500-2000'; objlist.options.add(newOption); var newOption = document.createElement('OPTION'); newOption.text='2000-3000'; newOption.value='2000-3000'; objlist.options.add(newOption); var newOption = document.createElement('OPTION'); newOption.text='3000-4000'; newOption.value='3000-4000'; objlist.options.add(newOption); var newOption = document.createElement('OPTION'); newOption.text='4000-5000'; newOption.value='4000-5000'; objlist.options.add(newOption); var newOption = document.createElement('OPTION'); newOption.text='5000-6000'; newOption.value='5000-6000'; objlist.options.add(newOption); var newOption = document.createElement('OPTION'); newOption.text='6000-7000'; newOption.value='6000-7000'; objlist.options.add(newOption); var newOption = document.createElement('OPTION'); newOption.text='8000以上'; newOption.value='8000以上'; objlist.options.add(newOption); }}function cherkSearch(){ var url='/hngfw_hiringF/'; if ( document.getElementById('ddlHiring').value == '出租' ) { url=url+'cz_search.aspx?'; } else { url=url+'qz_search.aspx?'; } url=url+'HiringMode='+document.getElementById('ddlHiringMode').value; url=url+'&Area='+document.getElementById('ddlArea').value; url=url+'&HouseStyle='+document.getElementById('ddlHouseStyle').value; if ( document.getElementById('ddlTypeRent').value == '户型' ) { url=url+'&HouseType='; } else { url=url+'&Rent='; } url=url+document.getElementById('ddlDetails').value; if ( document.getElementById('cbShortHiring').checked== true ) { url=url+'&isShortHirng=yes'; } else { url=url+'&isShortHirng=no'; } if ( document.getElementById('txtAddress').value =='请输入地址或小区' ) { url=url+'&Address='; } else { url=url+'&Address='+document.getElementById('txtAddress').value; } location.href=url; return false;}
|