62,271
社区成员
发帖
与我相关
我的任务
分享 <div id="divCity" class="fldiv" runat="server">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<strong>城市</strong>(可直接输入城市或城市拼音及首字母)
</td>
<td style="text-align: right">
<a onclick="divhid('divCity');" style="cursor: pointer; border-bottom: 0;">
<img src="../../images/sreach/btn_close.png" /></a>
</td>
</tr>
<tr>
<td colspan="2">
<div id="showTable">
</div>
</td>
</tr>
<tr class="hotCity">
<td colspan="2" id="cityPy">
<a href="#" id="ltop" onclick="GetHotCity();"><b>热门城市</b></a> <a href="#" id="la"
onclick="showCity('a');">A</a> <a href="#" id="lb" onclick="showCity('b');">B</a> <a href="#"
id="lc" onclick="showCity('c');">C</a> <a href="#" id="ld" onclick="showCity('d');">D</a>
<a href="#" id="le" onclick="showCity('e');">E</a> <a href="#" id="lf" onclick="showCity('f');">
F</a> <a href="#" id="lg" onclick="showCity('g');">G</a> <a href="#" id="lh" onclick="showCity('h');">
H</a> <a href="#" id="li" onclick="showCity('i');">I</a> <a href="#" id="lj" onclick="showCity('j');">
J</a> <a href="#" id="lk" onclick="showCity('k');">K</a> <a href="#" id="ll" onclick="showCity('l');">
L</a> <a href="#" id="lm" onclick="showCity('m');">M</a> <a href="#" id="ln" onclick="showCity('n');">
N</a> <a href="#" id="lo" onclick="showCity('o');">O</a> <a href="#" id="lp" onclick="showCity('p');">
P</a> <a href="#" id="lq" onclick="showCity('q');">Q</a> <a href="#" id="lr" onclick="showCity('r');">
R</a> <a href="#" id="ls" onclick="showCity('s');">S</a>
<a href="#" id="lt" onclick="showCity('t');">T</a> <a href="#" id="lu" onclick="showCity('u');">
U</a> <a href="#" id="lv" onclick="showCity('v');">V</a> <a href="#" id="lw" onclick="showCity('w');">
W</a> <a href="#" id="lx" onclick="showCity('x');">X</a> <a href="#" id="ly" onclick="showCity('y');">
Y</a> <a href="#" id="lz" onclick="showCity('z');">Z</a>
</td>
</tr>
</table>
</div>
<input name="start_city" class="td_txt" onkeypress=" divhid('divCity');" onkeydown="divhid('divCity');"
onkeyup="divhid('divCity');" onfocus="showdiv('divCity','start_city','hfstartcity');"
runat="server" id="start_city" type="text" />var Editor;
var Hfeditor;
var Div;
function showdiv(div, editor, hfeditor) {
$('#' + div).css('display') == 'none';
Editor = editor;
Hfeditor = hfeditor;
Div = div;
showFillterdiv(editor, div);
$('#showTable').html('请稍候...');
$.get('../../httphandlers/SreachHandler.ashx', { action: 'GetCityByPYShort', topcity: 1, editor: editor, hfeditor: hfeditor, rnd: Math.random() }, City_callback);
}
function City_callback(res) {
$('#showTable').html(res);
}