• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
PHP开发记录
PHP以及web前端(ajax,js,jquery等)
博客园 首页 新随笔 管理
上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 83 下一页

2008年8月25日

ASP程序中同一个用户不允许同时登陆两次
摘要: 同一个用户不允许同时登陆两次实现办法一、 登陆页login.asp: <% ifrequest.Form.count>0then session("username")=request("username") application(session("username"))=session.SessionID response.Redirect("index.asp") endif %> <formmethod=postaction=""> <inputtyp 阅读全文
posted @ 2008-08-25 09:47 corange 阅读(202) 评论(0) 推荐(0)
 
 

2008年8月23日

ASP输出成n列的表格形式显示的方法,多行多列
摘要: http://www.corange.cn/archives/2008/01/141.html'定义变量 Dimcn,rs,Sql Sql="selectCustomerIDfromOrders" '记录总数 DimTotalNumbe Setcn=Server.CreateObject("ADODB.Connection") cn.Open"Provider=SQLOLEDB.1;UserID=sa;InitialCatalog=NorthWind;DataSource=.;Password=;" Setrs=Ser 阅读全文
posted @ 2008-08-23 15:11 corange 阅读(405) 评论(0) 推荐(0)
 
文本溢出后用省略号代替
摘要: <!doctypehtmlpublic"-//w3c//dtdhtml4.01//en""http://www.w3.org/tr/html4/strict.dtd"> <html> <head> <metahttp-equiv=content-typecontent="text/html;charset=utf-8"> <title>onunderflow</title> <scriptlanguage="JavaScript"> 阅读全文
posted @ 2008-08-23 15:06 corange 阅读(109) 评论(0) 推荐(0)
 
 

2008年8月22日

表单内容长度限制,带计数
摘要: <scripttype="text/javascript"> /* FormfieldLimiterscript-ByDynamicDrive ForfullsourcecodeandmoreDHTMLscripts,visithttp://www.dynamicdrive.com ThiscreditMUSTstayintactforuse */ varns6=document.getElementById&&!document.all functionrestrictinput(maxlength,e,placeholder){ if(win 阅读全文
posted @ 2008-08-22 08:15 corange 阅读(402) 评论(0) 推荐(0)
 
Input文本框随着输入内容多少自动延伸
摘要: <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="http://www.w3.org/1999/xhtml"> <head> <metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/ 阅读全文
posted @ 2008-08-22 08:11 corange 阅读(325) 评论(0) 推荐(0)
 
 
上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 83 下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3