- 博客(11)
- 资源 (5)
- 收藏
- 关注
原创 在高级中添加ip的批处理
netsh int ip add address "本地连接" 192.168.1.224 255.255.255.0 192.168.1.1 0pause
2012-09-05 14:53:11
476
原创 js获取iframe中的内容 兼容火狐&&ie6
无标题文档//显示iframe中的内容function list(){//alert(document.getElementById("ali").contentWindow.document.documentElement.outerHTML);document.getElementById('content').innerHTML=document.getElementBy
2012-08-31 11:15:01
1182
原创 javascript去除两边空格
function trim(string){ return string.replace(/(^\s*)|(\s*$)/g, "");}
2012-08-07 13:54:46
368
原创 asp Replace的写方法大全
复杂清晰的:Str = "1a2c3c45b67a8a9"Str = Replace(Str,"a","")Str = Replace(Str,"b","")Str = Replace(Str,"c","")Response.Write(Str)%>结果为:123456789简单不清晰的:Str = "1a2c3c45b67a8a9"
2012-08-07 11:46:30
1167
原创 document.getElementById("id").onclick=tt
function tt(){alert("测试");} document.getElementById("id").onclick=tt; //tt函数不要加() //也可以这样document.getElementByid("id").onclick=function tt(){ alert("测试");}
2012-08-03 09:49:01
5956
1
转载 js定时执行
14.1 setTimeout和setInterval的使用这两个方法都可以用来实现在一个固定时间段之后去执行JavaScript。不过两者各有各的应用场景。 方 法实际上,setTimeout和setInterval的语法相同。它们都有两个参数,一个是将要执行的代码字符串,还有一个是以毫秒为单位的时间间隔,当过了那个时间段之后就将执行那段代码。不过这两个函数还是有区别的,set
2012-07-25 14:19:08
524
原创 img地址xxx.asp?的问题解决方法
图片img= "http://127.0.0.1:81/123/msn.gif" '------图片路径Response.Redirect img %>
2012-07-25 12:31:47
312
原创 delphi修改时间的函数
需要引用strUtils function SynTimeFromServer(ServerDate, ServerTime: string): Boolean;varsysTime: TSystemTime;beginResult := True;with sysTime dobegin wYear := StrToInt(LeftStr(Serv
2012-07-16 11:49:52
311
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅