项目需要实现如下图的功能,网上搜了搜发现 jQuery的?flexselect插件可以实现该功能。 插件使用方法:先引入需要的CSS和JS <script?src="${ctx}/scripts/datatable/jquery-1.10.2.js"></script>
<link?type="t...
分类:
其他好文 时间:
2014-12-09 21:38:43
阅读次数:
183
经常会运行类似这样的命令nohup python main-script.py arg1 arg2 > log2.txt 2>&1 &nohup 命令运行由 Command参数和任何相关的 Arg参数指定的命令,忽略所有挂断(SIGHUP)信号。也就是说当你按下Ctrl+D从Linux注销用户以.....
分类:
其他好文 时间:
2014-12-09 21:18:38
阅读次数:
342
<html><head><title>Validator</title><scripttype="text/javascript">functioncheckForm(){if(window.confirm("Areyousureyouwanttosumbitthisform?")){returntrue;}returnfalse;}</script></head><body><formaction="2...
分类:
Web程序 时间:
2014-12-09 19:52:23
阅读次数:
239
Mac OS X:Download Macwrapper script(Right click, Save Link Asapktool)Download apktool-2 (find newest here)Rename downloaded jar toapktool.jarMove both...
分类:
系统相关 时间:
2014-12-09 17:08:31
阅读次数:
280
<HTML>
<head>
?<title>js获取文件大小</title>
?<meta??http-equiv="content-type"?content="text/html;charset=utf-8"?>
?<script?type="text/javascript">
?
????
var?isIE?=?/msie/i.test(...
分类:
Web程序 时间:
2014-12-09 14:10:18
阅读次数:
156
先来试个一句话解释仨,当浏览器碰到script脚本的时候:没有defer或async,浏览器会立即加载并执行指定的脚本,“立即”指的是在渲染该script标签之下的文档元素之前,也就是说不等待后续载入的文档元素,读到就加载并执行。有async,加载和渲染后续文档元素的过程将和script.js的加载...
分类:
其他好文 时间:
2014-12-09 13:48:20
阅读次数:
137
1、<script>window.onload=function(){alert("");}</script>2、functionckCbo(){alert("");}<bodyonload=‘ckCbo()‘>jQuery页面加载初始化的3种方法1、$(document).ready(function(){alert("方法1。");});2、$(function(){alert("方法2。");});3、jQuery(func..
分类:
Web程序 时间:
2014-12-08 19:48:09
阅读次数:
231
SQLServer中查询的数字列前面补0返回指定长度的字符串:如:角本如下:/****** Script for SelectTopNRows command from SSMS ******/SELECT TOP 1000 [ID] ,[SN] ,[Name] FROM [...
分类:
数据库 时间:
2014-12-08 17:30:59
阅读次数:
241
jquery的Uploadify控件上传图片和预览使用介绍。
在简单的servlet系统中和在SSH框架中,后台处理不同的,在三大框架中图片预览时费了不少力气,所以下面将两种情况都介绍一下。
1,前台代码
script:
$("#uploadify").uploadify({
'langFile' : '/config/juploadify/uploadifyLa...
分类:
Web程序 时间:
2014-12-08 15:35:15
阅读次数:
661
One thing you need to keep in mind is that when using os.chdir to change the working directory of current programme (script), make sure if we need to ...
分类:
编程语言 时间:
2014-12-08 15:24:51
阅读次数:
222