日期:2014-05-16  浏览次数:20688 次

没办法了,ajax的问题纠结了一天了,来求助了
本帖最后由 showbo 于 2012-10-23 20:35:12 编辑 我要做一个搜索提示框,在网上找了很多资料,很多人提供了源码,是的源码没问题,但是我在vs里调试是没问题,但是一到我做的项目里的iis里运行,就没效果了
我把代码贴出来,实在是找不出怎么解决这个问题,
(注:vs中调试没问题,在iis中运行就不出效果了,牛人帮帮忙)

<!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 runat="server">
    <title></title>
</head>
<style type="text/css">
    .item_normal
    {
        border-left: #666 1px solid;
        border-right: #666 1px solid;
        width: 150px;
        background-color: #ffffff;
        overflow: hidden;
    }
    .itemBg
    {
        border-left: #666 1px solid;
        border-right: #666 1px solid;
        cursor: default;
        background-color: #ffffff;
        width: 150px;
    }
    .item_high
    {
        background-color: #326BC5;
        cursor: default;
        width: 150px;
        color: white;
    }
    .item_button
    {
        border-left: #666 1px solid;
        border-right: #666 1px solid;
        border-bottom: #666 1px solid;
        text-align: right;
        background-color: #ffffff;
        width: 150px;
        cursor: hand;
    }
    .suggest_hidden
    {
        display: none;
    }
</style>
<body>
    <form id="form1" runat="server">
    <div>
        <input id="KProvince" style="width: 150px;" autocomplete="off" onkeyup="beKeyUp();" />
        <p>
            <div id="search_suggest" style="position: absolute; z-index: 1;">
            </div>
        </p>
    </div>
    </form>
</body>
<script type="text/javascript">
    var array = new Array(); //定