- 博客(7)
- 资源 (3)
- 收藏
- 关注
转载 实现table表头固定 内容滚动效果
html> head> style type="text/css"> /*所有内容都在这个DIV内*/ div.all { border: 3px solid #FF00FF; width: 80%; /*这个宽度可根据实际需要改变*/ clear: right;
2013-11-21 15:25:48 7263
原创 jQuery的ajax submit的使用
前台js $("#nickForm").ajaxSubmit({ type: "post", url: "http://localhost:8080/test/myspace.do?method=updateNick¶m=1", dataType: "json", success: function(result){
2013-11-18 18:20:10 1116
原创 严重: Servlet.service() for servlet default threw exception java.lang.OutOfMemoryError: Java heap spac
2008-10-29 18:00:43 org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet jsp threw exception java.lang.OutOfMemoryError: PermGen space SEVERE: An exception o
2013-11-16 18:23:03 3046
原创 判断浏览器是不是chrome
navigator.userAgent.toLowerCase().match(/chrome/) != null 如果是true 表示是chrome 如果是false 则表示是其它的浏览器
2013-11-14 15:03:52 1864 1
原创 iframe包含的position:fixed无效的原因
aa.html中含有iframe标签 iframe的src指向bb.html 在bb.html中 有个div的position的值为fixed 此时如果通过直接打开aa.html 则那个含有position:fixed的div无法随着滚动条的滚动而滚动 如果直接打开bb.html 则该div可以随着滚动条的滚动而滚动 其原因是因为直接打开aa.html的话 拥有position:fixed的div
2013-11-14 14:57:17 4718
原创 myEclipse保存jsp文件时报错:some characters cannot be mapped using "ISO-8859-1" character encoding
Reason: some characters cannot be mapped using "ISO-8859-1" character encoding. Either change the encoding or remove the characters which are not supported by the "ISO-8859-1" character encoding.
2013-11-09 09:48:51 1375
转载 取消enter键提交表单
在HTML页里面由于使用了form,常常需要禁用enter提交表单。因为内容页或者母版页自身有如果有type="submit"的button,当textbox聚焦时,按下enter都会触发表单的默认提交(不论是IE还是firefox),于是需要在onkeydown中监听用户的按键。实际测试,IE8中导致表单提交的不确定因素太多,点击表单的table中的td都会触发表单提交,而firefox则不会;
2013-11-02 17:21:42 1848
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人