<body> <input type="checkbox" id="ckAll" />check all<br /> <input type="checkbox" name="sub" />1<br /> <input type="checkbox" name="sub"/>2<br /> <input type="checkbox" name="sub"/>3<br /> <input t...
分类:
Web程序 时间:
2014-07-22 09:13:34
阅读次数:
325
我说的其实就是如上图所示在右侧加一个限制条件 首先要找到这个文件/dede/templets/co_add_step2.htm 找到如下图所示的位置 加一句 <input?name="iswater_<?php?echo?$tname;??>"?type="checkbox"?id="isw...
分类:
其他好文 时间:
2014-07-22 09:03:06
阅读次数:
321
#pragma warning(disable:4996)
#include <cstdio>
#include <tchar.h>
#include <Windows.h>
#include <vector>
using namespace std;
/*
submit time : 4
1.Runtime Error
Last executed input: [1], 2...
分类:
其他好文 时间:
2014-07-22 09:03:04
阅读次数:
285
如果在js中想触发另一个元素的onchang,onclick 等方法可以使用obj.fireEvent("onchange");?? 来实现: html: <input type="checkbox" id="mycheckox2" onclick="firemycheckoxonclick()"> javascript functi...
分类:
编程语言 时间:
2014-07-22 09:03:04
阅读次数:
293
1 $("input[name='searchBean.con1']").keyup(function(){ //keyup事件处理 2 $(this).val($(this).val().replace(/\D|^0/g,'')); 3 }).bind("past...
分类:
Web程序 时间:
2014-07-22 08:37:34
阅读次数:
216
典型用法: import fileinput
for line in fileinput.input():
process(line) input 参数为空时,获取sys.argv[1:] 作为参数。如果文件名是“-”也是从标准输入获取参数。 input参数可以是一个List,也可以是...
分类:
编程语言 时间:
2014-07-22 08:25:35
阅读次数:
183
【1】 没想到遇见了?No?input?file?specified???因为项目用了URL?route?,估摸着可能是rewrite的问题。 记录一下解决方案。 1.检查doc_root?是否设置此值 2.检查.hta文件?,?很多框架都是index.php当入...
分类:
其他好文 时间:
2014-07-22 08:13:35
阅读次数:
245
Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.题解:转换的方法:从左往右扫描罗马字符,如果当前的字符对应的数字比上一个数字小,就直接加...
分类:
其他好文 时间:
2014-07-21 10:05:42
阅读次数:
223
Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.题解:基本的罗马字符和数字对应如下表所示:罗马字符数字I1V5X10L50C100D50...
分类:
其他好文 时间:
2014-07-21 10:05:16
阅读次数:
286
Jzzhu has invented a kind of sequences, they meet the following property:
You are given x and
y, please calculate fn modulo
1000000007 (109?+?7).
Input
The first line contains two integers...
分类:
其他好文 时间:
2014-07-20 10:43:17
阅读次数:
213