function openShell(){
if(window.ActiveXObject){
var cmd = new ActiveXObject('WScript.Shell')
cmd.Run("D://XmanagerEnterprise4//Xftp.exe")
}
else{
alert("浏览器不支持自动上传!")
}
}...
分类:
编程语言 时间:
2014-05-18 09:57:59
阅读次数:
285
题目链接:
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5235
Calculate the Function
Time Limit: 2 Seconds Memory Limit: 65536 KB
You are given a list of numbers A1 A2 .. AN...
分类:
其他好文 时间:
2014-05-18 09:52:49
阅读次数:
410
【题目】
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
For example, given n = 3, a solution set is:
"((()))", "(()())", "(())()", "()(())", "()()()"
【题意】
给定n对括号,输出所有可行的括号组合字符串。所谓合法,就是可以Valid Pare...
分类:
其他好文 时间:
2014-05-18 09:06:41
阅读次数:
266
【题目】
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.
【题意】
合并K个有序链表
【思路】
归并
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
For ...
分类:
其他好文 时间:
2014-05-18 09:05:40
阅读次数:
255
最近在学习jQuery,使用得是最新版本的1.11.1。照着书本敲了如下代码,却发现无论如何也跑不起来。
html
hello world
js
$(document).ready(function() {
$('.box').live('click', function() {
$(this).clone().appendTo('.container');
});
});
原...
分类:
Web程序 时间:
2014-05-18 08:56:21
阅读次数:
434
最近在看项目源码的时候发现了如下代码,其中_searchSupplierStore是JsonStore对象
_searchSupplierStore.on('beforeload',function(thiz,options){
thiz.baseParams["cusCode"]="%"+Ext.getCmp('id_cusCodetext').getValue()+"%";
t...
分类:
Web程序 时间:
2014-05-18 05:50:35
阅读次数:
247
接下来,我们接着去学习如何去接收处理web上传的数据
1 首先我们创建一个
@interface WTZHTTPConnection :
HTTPConnection
在这个类中我们用于处理接受文件并存储到app文档
同时不要忘记了设置httpserver的Connectio类
[httpServer setConnectionClass:[WTZHTTPConnection...
分类:
其他好文 时间:
2014-05-18 05:42:28
阅读次数:
501
由于我想在页面加载完成后,有几个地方显示当前时间,所以我需要给多个span赋值。
span代码的写法如下: (多个span)
jQuery写法:
$(document).ready(function() { //获取当前时间比如:2014年5月17日(js自带的方法)
var currentDate = new Date().toLocaleDateStri...
分类:
Web程序 时间:
2014-05-18 04:49:05
阅读次数:
322
一、字符串编码为gb2312,一个中文占俩字节public static function
chinesesubstr($str, $start, $len) { // $str指字符串,$start指字符串的起始位置,$len指字符串长度
$strlen = $start + $le...
分类:
Web程序 时间:
2014-05-17 22:47:15
阅读次数:
520