java
WindKun
这个作者很懒,什么都没留下…
展开
-
调试WEB程序时出现$ is not defined
解决方法:1、检查common/js/jquery-1.7.2.min.js此文件是否写在网页上: 2、检查jquery是否在js之前被加载,这个加载顺序很重要,jquery一定要在js之前被加载原创 2012-05-02 20:51:36 · 1555 阅读 · 0 评论 -
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
出现错误的情景: 本人在我的机器上写好了一个WEB项目的代码,将其移动到另一台机器A中出现的此错误。原因: 移动到A机器时,A机器中的Mysql数据库中没有要连接的数据库 项目中连接数据库的url为:"jdbc:mysql://localhost/person?useUnicode=true&characterEncoding=UTF-原创 2012-05-03 11:00:27 · 3586 阅读 · 0 评论 -
html 去除图像的边框
下面是服务器向页面写的html语句:html.push(""); html.push("");这样写会出现一个问题,在浏览器上显示的页面上图像会出现蓝色的边框。如想消除,可把代码改写为;html.push(""); html.push("");img这个标签有border属性,可控制图像的边框原创 2012-05-07 20:31:13 · 5279 阅读 · 0 评论