這兩天做了個類似Google suggest的搜索功能的Ajax代碼,當然這段代碼是在AJax基礎教程中示例4.9的基礎上修改完成的.
效果圖:

先把代碼貼出來,大家一起學習研究.其中一些數據連接方面的,就不介紹了,相信大家已經對這個沒有什麼問題了
-----------AdvSearch.ASPx-------------------------------------------------------------------------------------------------------------------------------------

<Html XMLns="http://www.w3.org/1999/xHtml" >

<head runat="server">

<title>無標題頁title>

<style type="text/CSS">

body

{

font-size:12px;

}

.mouSEOut

{

font-size:12px;

background: #708090;

color: #FFFAFA;

}


.mouSEOver

{

font-size:12px;

background: #FFFAFA;

color: #000000;

}


style>