- 博客(8)
- 资源 (27)
- 收藏
- 关注
原创 echarts2.2.7入门
1 从echarts官网下载源码2 解压源码后,文件夹如下3 将echarts-2.2.7\echarts-2.2.7\build\dist 的dist目录下的js拷贝导入myeclipse工程目录中4 jsp代码<%String path = request.getContextPath();String basePath =
2016-04-23 16:02:35 8225 1
原创 ajax遮罩
1 下载 query.blockUI.js 地址 : http://download.csdn.net/download/woshixuye/30199872 找一张动图转圈儿的图 ( 命名为 : mask.gif ) 地址 : http://www.nvlis.net/xiegif/42493.html 图片如下:3 引入到jsp中,在js代码如下
2016-04-22 16:05:15 854
原创 ajax post传送数组以及java后台接收数组
1 需要的包 1.1 jquery包 2 json包 ( maven 配置 ) net.sf.json-lib json-lib 2.3 jdk15 2 前端ajaxvar saveAllNbrs = function(){ var indexArray = new Array(); var nbrM
2016-04-22 09:54:51 17405
原创 ajax写法
var data = {nodeId:getNodeId(node.id),level:node.level}; $ajax(getNewUrl,"post",data,function(result){ if(result){ ebu.init(result[0].pageJson); console.log(result); var pag
2016-04-21 11:22:05 462
原创 json用法示例
1 导入jar包( 采用maven)2 JSON用法代码JSONArray jsonArray=new JSONArray();JSONObject jsonObject=new JSONObject();jsonObject.put("pageInfo", page); // page为一个对象jsonObject.put("pageJson", trainsPag
2016-04-12 19:21:55 503
转载 js格式化时间
// 对Date的扩展,将 Date 转化为指定格式的String // 月(M)、日(d)、小时(H)、分(m)、秒(s)、季度(q) 可以用 1-2 个占位符, // 年(y)可以用 1-4 个占位符,毫秒(S)只能用 1 个占位符(是 1-3 位的数字) // 例子: // (new Date()).Format("yyyy-MM-dd HH:mm:ss.S") ==
2016-04-05 09:12:48 333
原创 js获取路径
function getRootPath() { // get websocket basic path var strFullPath = window.document.location.href; var strPath = window.document.location.pathname; var pos = strFullPath.indexOf(strPath); v
2016-04-04 15:44:37 412
liferay + struts2 + spring + ibatis整合开发案例
2014-12-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人