---
title: "json"
author: "past2010"
date: "2013-04-17T09:13:00Z"
tags: []
categories: ["Web前端"]
slug: "json"
draft: false
lastmod: "2013-04-16T10:43:53Z"
id: 1848047
url: "https://past2010.iteye.com/blog/1848047"
---

时间起止

创建时间 至

日历 $('#cc').calendar({ width:200, height:200, current:new Date() });

div布局使用组件

导致页面出错的语句 没问题误判 错误1： &lt;% String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; %&gt; My JSP 'show.jsp' starting page  错误2： field: "id", titl: "编号", 错误3： field: "id", field: 'id', 错误4：(语句符号不严格)结尾加了逗号,规范的json数据，字符串规范用单引号而不是双引号，但是双引 号有些地方不报错 $(document).ready(function(){ url:'/easy/stu/showAll!findAll',loadMsg: '数据载入中,请稍等！', height:350, columns:\[\[ { field: "id", title: "编号", width: 85, align: "left", sortable: true, }, { field: "name", title: "登陆名", width: 55, align: "center", }, ]] }); 以上错误:修改为 $(document).ready(function(){ url:'/easy/stu/showAll!findAll',loadMsg: '数据载入中,请稍等！', height:350, columns:\[\[ { field: 'id', title: '编号', width: 85, align: 'left', sortable: true }, { field: 'name', title: '登陆名', width: 55, align: 'center' } ]] }); -------------------------------------------------------------------------