A script on this page starts this clock:效果如下:A
script on this page starts this clock:
从这个例子我们可以看出使用和清除javascript两种定时器需要注意的一些细节:1、清除定时器的方法,要放在保留定时器编号种子...
分类:
编程语言 时间:
2014-05-16 21:44:22
阅读次数:
280
转自:http://blog.csdn.net/zlpdaisy/article/details/6134314用Runtime.getRuntime().exec()方法执行Linux的一个Shell脚本时,报Cannot
run program "./script/abc.sh": java.i...
分类:
编程语言 时间:
2014-05-16 20:18:10
阅读次数:
765
模板题,找来测代码。注意有相同单词//#pragma comment(linker,
"/STACK:1024000000,1024000000")#include#include#include#include#include#include#include#include#include#inc...
分类:
其他好文 时间:
2014-05-16 05:45:11
阅读次数:
403
其实这种方式是很简单的,只是很麻烦,因为简单而且麻烦,
所以我采用尽可能的将截图传上来,然后稍加注解的方式进行介绍, 软件准备: 需要 MASM 5.0 或者以上的汇编编译器 首先,是要编辑汇编源代码:
其实对于源码的编辑根本不需要向如下这么麻烦,直接拿个记事本就 OK 了 运行 cmd 命令 输入...
分类:
其他好文 时间:
2014-05-15 11:07:10
阅读次数:
304
<scripttype="text/javascript">document.onselectstart=function(){returnfalse;}</script>
分类:
Web程序 时间:
2014-05-15 09:01:32
阅读次数:
258
由于现网有时候要测试很多端口的连通性,所以就写了个小脚本,实现批量测试将telnet成功的写入到telnet_alive.txt中,失败则写入telnet_die.txt中#!/bin/bash#thisscripttestUPtootherhost.#Iplist=/opt/script_test/iplist.dataPortnumber=7001foripin$(catiplist.data)do(slee..
分类:
Web程序 时间:
2014-05-15 08:46:11
阅读次数:
385
有时候运行结果错误,但是vs没抛异常,这时可以用trycatch来帮我们捕捉异常。
例如:bug的情况是treeview只显示一个根节点和一个子节点,还不报错,我擦~
private void f_script_Load(object sender, EventArgs e)
{
List parents = new t_scriptsBLL().g...
分类:
其他好文 时间:
2014-05-15 07:06:00
阅读次数:
202
使用flash插件上传,可能是很多人选择的方式,但是随之而来的session丢失问题也着实让人头疼swfupload代码如下:<scripttype="text/javascript"src="<?phpechobase_url();?>/static/js/swfupload/swfupload/swfupload.js"></script>
<scripttype="text/ja..
分类:
其他好文 时间:
2014-05-15 00:46:12
阅读次数:
263
使用flash插件上传,可能是很多人选择的方式,但是随之而来的session丢失问题也着实让人头疼swfupload代码如下:<scripttype="text/javascript"src="<?phpechobase_url();?>/static/js/swfupload/swfupload/swfupload.js"></script>
<scripttype="text/ja..
分类:
其他好文 时间:
2014-05-14 17:11:02
阅读次数:
519
JavaScript实现弹窗报错
1、具体错误如下
SCRIPT 5022:cannot call methods on dialog prior to initialization;
attempted to call method 'open'.
2、错误原因
3、解决办法...
分类:
编程语言 时间:
2014-05-13 07:01:27
阅读次数:
463