易截截图软件、单文件、免安装、纯绿色、仅160KB

使用JQuery和ASP打造AutoComplete功能

客户端代码:
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>使用JQuery和ASP打造AutoComplete功能</title>
<script type="text/javascript" src="js/jquery-1.2.1.pack.js"></script>
<script type="text/javascript">
function lookup(inputString) {
   if(inputString.length == 0) {
    // Hide the suggestion box.
    $('#suggestions').hide();
   } else {
    $.post("showmember.asp", {queryString: ""+escape(inputString)+""}, function(data){
     if(data.length >0) {
      $('#suggestions').show();
      $('#autoSuggestionsList').html(unescape(data));
     }
    });
   }
} // lookup
function fill(thisValue) {
   $('#inputString').val(thisValue);
   setTimeout("$('#suggestions').hide();", 200);
}
</script>
<style type="text/css">
body {
   font-family: Helvetica;
   font-size: 11px;
   color: #000;
}
h3 {
   margin: 0px;
   padding: 0px;
}
.suggestionsBox {
   position: relative;
   left: 30px;
   margin: 10px 0px 0px 0px;
   width: 200px;
   background-color: #212427;
   -moz-border-radius: 7px;
   -webkit-border-radius: 7px;
   border: 2px solid #000;
   color: #fff;
}
.suggestionList {
   margin: 0px;
   padding: 0px;
}
.suggestionList li {
  
   margin: 0px 0px 3px 0px;
   padding: 3px;
   cursor: pointer;
}
.suggestionList li:hover {
   background


相关文档:

ASP.NET讲座(2) ASP.NET控件

2.1 ASP.net 入门
  通常谈一个学科,我们老是说,它入门很简单的嘛,ASP.net也是。ASP.net提出一个概念,就是认为WEB页面,也是一个窗体,所以,学习过面向对象编程的VB VC BC Dephi的朋友,学起来就简单多了。
  一个ASP.net页面的后缀名是".aspx",所以,IIS在你安装完ASP.net时,也会把Default.aspx作为你的默认 ......

Windows7下IIS7的安装及ASP配置方法

注:本人安装的是Windows 7 RC 7100 32位中文旗舰版 。
在Windows 7下面IIS7的安装方法:
一、进入Windows 7的 控制面板
,选择左侧的 打开或关闭Windows功能

二、现在出现了安装Windows功能的选项菜单
,注意选择的项目,我们需要手动选择
需要的功能,下面这张图片把需要安装的服务都已经选择了,大家可以按照 ......

asp静态生成,伪静态

<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Session.CodePage=65001%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- #include file="../configinc/conndb.asp"-->
<!--#include file="../configi ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号