![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JSP JS JQuery
文章平均质量分 83
iteye_20413
这个作者很懒,什么都没留下…
展开
-
浏览器缓存 更新js
转自: http://www.iteye.com/topic/228187 为了减小浏览器与服务器之间网络传输压力,往往对静态文件,如js,css,修饰的图片做cache,也就是给这些文件的HTTP响应头加入Expires和Cache-Control参数,并指定缓存时间,这样一定时间内浏览器就不会给服务器发出任何的HTTP请求(除了强制刷新),即使在这段时间内服务器的js...原创 2011-06-09 16:30:02 · 361 阅读 · 0 评论 -
jsp form 自动填充
我们在做ajax 效果的时候,经常遇到类似的需求:从后台返回一个对象。一般是json格式的对象。 这时候需要将对象内容自动填充到页面中。 闲话少聊,下面是代码。 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-tr...原创 2011-06-14 15:22:51 · 717 阅读 · 0 评论 -
div 滚动条
1、利用div制作滚动条 <div style="height:500px; overflow: auto; text-align:left"></div> 参考资料 http://blog.myspace.cn/e/407399443.htm 2、 <body scroll="no"/>...原创 2011-07-04 15:18:33 · 66 阅读 · 0 评论 -
代码备忘:grid cell formatter
jsp中,<input id="checkRoleIds" type="hidden" value=""/>,缓存所有ids。 <th field="authorized" class="checkbox formatter-booleanFormatter" width="5%" ></th>,g原创 2011-07-18 14:10:56 · 89 阅读 · 0 评论 -
JsLint Eclipse plugin
参考:http://www.andyjamesdavies.com/javascript/installing-jslint-on-eclipse-ide 简化如下 1、eclipse中,"Help"->"Install New Software" 2、点"Add"后,location填:https://svn.codespot.com/a/eclipselabs.o...原创 2011-10-25 10:43:33 · 123 阅读 · 0 评论