- 浏览: 277930 次
- 性别:
- 来自: 北京
-
最新评论
-
qq642617822:
有用,谢谢了。
eclipse 导入jquery后报错 -
nbh219:
电脑配置问题?
MyEclipse+tomcat debug启动非常之慢 -
bngd032:
如此做了,还是不行的,我的myeclipse里没有断点 ...
MyEclipse+tomcat debug启动非常之慢 -
x9x9x9x9:
很管用呀
eclipse 导入jquery后报错
文章列表
//checkbox全选
$("#checkAll").on("click", function () {
if ($(this).prop("checked")) {
$("input[name='checkList']").prop("checked",true);
} else {
$("input[name='checkList']").prop("checked",false) ...
function menuUp(){
$("#"+liId+"").insertBefore($("#"+liId+"").prev());
}
function menuDown(){
$("#"+liId+"").next().insertBefore($("#"+liId+""));
}
springMvc分页
- 博客分类:
- java
@Override
public Pagination<T> queryPagination(Class<T> clazz, Map<String, Object> param, int pageNo, int pageSize) {
List<T> list = queryListResult(SQLCreator.set(clazz, ESQL.QUERYLISTRESULT), param);
long count = queryListResultCount(SQLCreator.set(clazz, ESQL.QUERYLISTR ...
jdbc 连接mysql
- 博客分类:
- java
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class MysqlDemo {
public static void main(String[] args) throws Exception {
Connection conn = null;
String ...
list.add(obj.getRegion()==null?"":obj.getRegion().toString());
ajax From 提交表单
- 博客分类:
- jquery
jQuery("#userForm").ajaxSubmit({
type: "post",
success: function(data){
alert(data);
}
});
var fname = $("#saveBuy #firstname").val(); //saveBuy from id
var lname = $("#saveBuy #lastname").val();
function getPostJson(id){
var json = {};
$(id).find("input[type$='text']").each(function(i){
json[this.name]=this.value.replace(/(^\s*)|(\s*$)/g,&quo ...
/**
* 读取csv
*
* @param csvFilePath
* @throws Exception
*/
public static void readerCsv(String csvFilePath) throws Exception {
CsvReader reader = new CsvReader(csvFilePath, ',', Charset.forName("utf-16"));// shift_jis日语字体,utf-8 ...
if (version == 2003) {// 2003
POIFSFileSystem fs = new POIFSFileSystem(fis);
HSSFWorkbook wb = new HSSFWorkbook(fs);
HSSFSheet sheet = wb.getSheetAt(0);
excelReader.readExcelContent(sheet,realfilename);
} ...
.transp { /* make the div translucent */
opacity: 0.6; /* Firefox, Safari(WebKit), Opera)
filter: "alpha(opacity=60)"; /* IE 8 */
filter: alpha(opacity=60); /* IE 4-7 */
zoom: 1; /* needed in IE up to version 7, or set width or height to ...
public static void main(String[] args) {
String str = "";
str += (int)(Math.random()*9+1);
for(int i = 0; i < 7; i++){//更改这里 可以控制生成数字的位数
str += (int)(Math.random()*10);
}
int num = Integer.parseInt(str);
System.out.println(num);
}
http://blog.sohu.com/s/MTA ...
Date.prototype.format = function(format){ var o = { "M+" : this.getMonth()+1, //month "d+" : this.getDate(), //day "h+" : this.getHours(), //hour "m+" : this.getMinutes(), //minute "s+" : this.getSeconds(), //second "q+" : Math.floor((this. ...
Oracle 获取当前日期及日期格式
获取系统日期: SYSDATE() 格式化日期: TO_CHAR(SYSDATE(),'YY/MM/DD HH24:MI:SS) 或 TO_DATE(SYSDATE(),'YY/MM/DD HH24:MI:SS) 格式化数字: TO_NUMBER