ɷAjaxģgoogleʾ ʹ˵ v1.7
ɷɷasp԰д

*************************************************
رл  һ׿ˮ  İ 汾޸Ľ
*************************************************
ɷAsp԰
www.ffasp.com
QQ:276230416
QQ:72840059
*********************************************


ܣ

ʾַhttp://www.ffasp.com/content.asp?newsid=1375
תע

СģGoogle(sgguest)ʾд
ûעʱʾ
˳ʹ÷򵥡
ҲAspphpnet

˵
1.֧xhtml
2.IE6,IE7,FF
3.֧inputʾvalue롾ʽύݡ
4.֧ť
5.֧ʾ
6.һҳʹ
7.ģ򲻻ᱻselectڵ
8.ø㣨ںѸΪjq
9.Ƥ޸ķ õcssʽļע˵޸
10.̷ּ֧סѡ
11.ʱ
12.йʱie6±ڵ
13.ֻ֧صòִʱִһָ
14.Լʾĳ
15.޷ȡûдĬֵ
16.ʧȥʱʾԶ

******************************************************************
ļʹ˵
ҪʹõҳҪ2jsļ
<script src="jquery1.2.6.min.js"></script>
<script src="search_suggest.js"></script>
˶ļڵú֮ǰ
*****************************ǵʾ*************************
var option = {
inputName : "test2",
inputText : "ַ4",
inputValue: "ֵ",
inputlength:1,
url : "search.asp",
arrow :1,
arrowUrl :"search.asp?aa=nowitest",
zIndex:7,
fns:function(){alert(3)}
}
$("#test").suggestShow(option)
+++++++˵+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
option:Ϊöoptionڵвʡ
inputName        inputname. ύʱȡinputnameҲΪsearch.aspҳȡinputname
inputText        inputName ʾ
inputValue       inputName ύݣinputValueʡʱinputValueinputText
url              Զִлȡݵurl
arrow            ģselectʹť̶ֵΪ1ʾͷ Ϊ0ʾ
arrowUrl         arrowΪ1ʱ ĬµťִеԶҳ
zIndex           z-indexֵ
inputlength      inputNameݵС
suggestWidth     ʾĳ
fns              ִòʱִеĻص

************************************************************************
search.aspҳܣ
ҳ淵ݱxmlʽ,ݱ¸ʽ
<response value="1" result ="2">ʾϢ</response>
Խܣ
1.value      aavalueֵԲvalueֵȡ"ʾϢ"
2.result     ʾԶ̻ȡͳƽԲ
3.ʾϢ    aaʾֵtextֵ 
************************************************************************
