• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

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

jquery 搞代码 4年前 (2021-12-27) 28次浏览 已收录 0个评论
Screenshots

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘/upload/2007228153419399.gif’);}” alt=”” src=”https://ss.gaodaima.com/article/28/b2/61/28b2611a30d1b87fe81b3ad0d91f1bfc.jpg-600″ onload=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” border=0>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘/upload/2007228153423310.gif’);}” alt=”” src=”https://ss.gaodaima.com/article/45/5d/97/455d970dc4b9ac801d4229b6c31b12d6.jpg-600″ onload=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click h来源gao@dai!ma.com搞$代^码网ere to open new window\nCTRL+Mouse wheel to zoom in/out’;}” border=0>
PaginationInternationalization
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘/upload/2007228153426498.gif’);}” alt=”” src=”https://ss.gaodaima.com/article/17/4e/cc/174eccb3d05c2bb6a48a8f19978685cf.jpg-600″ onload=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” border=0>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘/upload/2007228153427643.gif’);}” alt=”” src=”https://ss.gaodaima.com/article/ff/3f/00/ff3f00f95148cbf867fdd4f59412744c.jpg-600″ onload=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” border=0>
Rich formatText selection

源码下载

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

ASP+AJAX autocompant ASP完整演示

ASP+AJAX源码下载

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

代码如下:
比如         new CAPXOUS.AutoComplete(“wiki”, function() { 
                return “autocomplete3.asp?typing=” + escape(this.text.value); 
                        }); 

那么在asp要接受值 
typing =trim(Request.QueryString(“typing”)) 
然后查询 
Set Rs=Conn.ExeCute(“SELECT YGBH,DW,YGXM FROM wuhen_t_yg WHERE ygxm LIKE ‘%”&typing&”%’ ORDER BY ygbh DESC”) 

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

代码如下:
 
typing =decode(trim(Request.QueryString(“typing”)))

12下一页阅读全文

以上就是一个AJAX自动完成功能的js封装源码[支持中文]第1/2页的详细内容,更多请关注gaodaima搞代码网其它相关文章!


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:一个AJAX自动完成功能的js封装源码[支持中文]第1/2页

喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址