- 浏览: 9185 次
- 性别:
- 来自: 上海
最新评论
文章列表
<form id="form1" name="form1" method="post" action="http://www.baidu.com/s">
<input name="wd" type="text" id="wd" />
<a href="#" onclick="submits()">提交</a>
</form>
<scri ...
ASP 在线拷贝文件夹
- 博客分类:
- ASP知识
<%
Set objFSO = Server.CreateObject("Scripting.FileSystemObject") '文件件操作
Function ReportFolderStatus(fldr)
Dim msg
msg = -1
If (objFSO.FolderExists(fldr)) Then
msg = 1
Else
msg = -1
End If
ReportFolderStatus = msg
End Function
Functi ...
<script>
var imgs=0;
function showmenu(){
if(imgs==0){
imgs=1;
for(var i=0; total=document.images.length,i<total; i++){
document.getElementsByTagName("img")[i].oldsrc=document.getElementsByTagName("img")[i].src;
document.getElementsByTagName("img&qu ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>提示键盘大写开关</title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keyword ...
<%
lx=request("lx")
key=trim(request("key"))
if key="" then
response.write("请输入需要搜索的关健字")
else
Set rs=Server.CreateObject("ADODB.Recordset")
if lx=1 then
sql="select * from art where tit like '%"& key &"%'" ...
<table cellpadding="3" cellspacing="1" border="0" align="center">
<form METHOD=POST ACTION="?Act=SaveEditSetting" name="TheForm">
<tr>
<td width="30%" class="forumrowHighlight" align="right&qu ...
<%
dim id,sql,rs,topcolor
topcolor=Request.Form("topcolor")
Set rs=Server.CreateObject("adodb.recordset")
SQL="select topcolor from table"
rs.Open SQL,Conn,1,3
Do While Not rs.eof
rs("topcolor")=topcolor
rs.update
rs.MoveNext
Loop
rs.Close
Respo ...
判断页面是否加载完成
- 博客分类:
- 前端脚本
<script>
var start;
window.onload = function (){
if(document.all){start = setInterval('updateImg()', 1000);}else{alert("FF完成");}
}
function updateImg(){
if (document.readyState == "complete"){
try{alert("IE完成");clearInterval(start);}catch(err){ret ...
<script language=JavaScript>
var urodz= new Date("8/8/2018");
var s="8/8/2018";
var now = new Date();
var ile = urodz.getTime() - now.getTime();
var dni = Math.floor(ile / (1000 * 60 * 60 * 24));
if (dni > 1)
document.write(""+s+"还有"+dni ...
<iframe id="iframe_id" src="#" width="986" frameborder="0" border="0" scrolling="no"></iframe>
<script language="javascript">
var i = parent.document.getElementById("iframe_id");
if(i !=null){
i.s ...
换肤 带cookie
- 博客分类:
- 前端脚本
<!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; charse ...