javascript

位置:IT落伍者 >> javascript >> 浏览文章

一个AJAX自动完成功能的js封装源码[支持中文]第1/2页


发布日期:2023年03月30日
 
一个AJAX自动完成功能的js封装源码[支持中文]第1/2页
Screenshots screenwidth*) {thisresized=true; thiswidth=screenwidth*; thisstylecursor=hand; thisalt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;} onclick=if(!thisresized) {return true;} else {windowopen(/upload/gif);} alt= src= onload=if(thiswidth>screenwidth*) {thisresized=true; thiswidth=screenwidth*; thisalt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;} border=>return imgzoom(this); onmouseover=if(thiswidth>screenwidth*) {thisresized=true; thiswidth=screenwidth*; thisstylecursor=hand; thisalt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;} onclick=if(!thisresized) {return true;} else {windowopen(/upload/gif);} alt= src= onload=if(thiswidth>screenwidth*) {thisresized=true; thiswidth=screenwidth*; thisalt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;} border=>PaginationInternationalization return imgzoom(this); onmouseover=if(thiswidth>screenwidth*) {thisresized=true; thiswidth=screenwidth*; thisstylecursor=hand; thisalt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;} onclick=if(!thisresized) {return true;} else {windowopen(/upload/gif);} alt= src= onload=if(thiswidth>screenwidth*) {thisresized=true; thiswidth=screenwidth*; thisalt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;} border=>return imgzoom(this); onmouseover=if(thiswidth>screenwidth*) {thisresized=true; thiswidth=screenwidth*; thisstylecursor=hand; thisalt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;} onclick=if(!thisresized) {return true;} else {windowopen(/upload/gif);} alt= src= onload=if(thiswidth>screenwidth*) {thisresized=true; thiswidth=screenwidth*; thisalt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;} border=>Rich formatText selection

源码下载

有个问题等高手解决就是怎么搞都不能支持中文不知道要改哪个地方!期待

ASP+AJAX autocompant ASP完整演示

ASP+AJAX源码下载

翻页和其他扩展功能正在完善

复制代码 代码如下:

比如newCAPXOUSAutoComplete(wikifunction(){

returnautocompleteasp?typing=+escape(thistextvalue);

});

那么在asp要接受值

typing=trim(RequestQueryString(typing))

然后查询

SetRs=ConnExeCute(SELECTYGBHDWYGXMFROMwuhen_t_ygWHEREygxmLIKE%&typing&%ORDERBYygbhDESC)

问题出在这查询在地址栏目中输入值能有接过但是ajax却不能返回值#

复制代码 代码如下:

<scriptlanguage=javascriptrunat=server>

functiondecode(str){

returnunescape(str);

}

</script>

typing=decode(trim(RequestQueryString(typing)))

上一篇:jQuery对元素进行拖动并重新排序代码

下一篇:JavaScript面试-介绍一下JavaScript中的对象