- 博客(29)
- 收藏
- 关注
转载 Best way of creating a new element in jquery
http://stackoverflow.com/questions/10619445/best-way-of-creating-a-new-element-in-jqueryvar $div = $("", {id: "foo", class: "a"});$div.click(function(){ /* ... */ });$("#box").append($div);
2014-04-29 01:00:52 553
转载 jQuery Set Selected Option
http://stackoverflow.com/questions/1280369/jquery-set-selected-option-using-next
2014-04-29 00:58:24 1268
转载 JQuery向<td>中插入<a>
http://stackoverflow.com/questions/3589815/how-to-add-div-within-td-with-jquery
2014-04-29 00:53:57 2135
转载 SpringMVC下使用URI Template
http://stackoverflow.com/questions/7021084/how-do-you-receive-a-url-parameter-with-a-spring-controller-mapping
2014-04-29 00:50:38 951
转载 如何修改MySQL root密码
Set / change / reset the MySQL root password on Ubuntu Linux. Enter the following lines in your terminal.Stop the MySQL Server.sudo /etc/init.d/mysql stopStart the mysqld configura
2014-04-29 00:47:16 555
转载 How to install tomcat 7 on ubuntu 12.04
http://www.krizna.com/ubuntu/install-tomcat-7-ubuntu-12-04/Tomcat ( Apache tomcat ) is an open source web application server used to deploy JAVA servlets and JSPs.This article helps you to insta
2014-04-29 00:46:01 1361
转载 Spring MVC通用URI Template
http://stackoverflow.com/questions/7841770/optional-path-variables-in-spring-mvc-requestmapping-uritemplate@RequestMapping(value = "/{first}/**/{last}", method = RequestMethod.GET)public String
2014-04-28 16:55:43 1196
转载 Ubuntu下解压缩
http://askubuntu.com/questions/25347/what-command-do-i-need-to-unzip-extract-a-tar-gz-filetar -xvzf community_images.tar.gz
2014-04-28 16:48:00 586
原创 AJAX向SpringMVC controller 传JSONArray并将String转换成JSONArray
http://stackoverflow.com/questions/14515785/how-to-convert-json-string-arrray-to-json-array-list
2014-04-26 23:22:10 2043
转载 深入hibernate的三种状态
学过hibernate的人都可能都知道hibernate有三种状态,transient(瞬时状态),persistent(持久化状态)以及detached(离线状态),大家伙也许也知道这三者之间的区别,比如瞬时状态就是刚new出来一个对象,还没有被保存到数据库中,持久化状态就是已经被保存到数据库中,离线状态就是数据库中有,但是session中不存在该对象。但是大家又是否对hibernate的ses
2014-04-24 17:55:01 514
转载 Hibernate对象的三种状态&&Session的常用方法
http://www.himigame.com/hibernate/814.html1. Hibernate对象的三种状态:(图解如下:) 如图所示,Hibernate对象有三种状态,1.Transient 2.Persistent 3.Detached;三种状态的区别如下:1. 当对象处于Transient时,只在内存中有一个对象,没ID
2014-04-24 17:53:42 649
转载 JavaScript声明全局变量三种方式的异同
http://www.cnblogs.com/snandy/archive/2011/03/19/1988284.html变量及变量声明是一门语言最基本的概念,初学者都会很快掌握。JavaScript中声明变量也是如此,很简单var(关键字)+变量名(标识符)。方式112var test;var test
2014-04-24 17:50:36 572
转载 理解Session缓存
http://blog.sciencenet.cn/blog-448935-723247.html1. Session缓存 为了让对象A一直处于生命周期中,要么对象A被显示引用,要么对对象A的引用保存在始终处于生命周期中的对象B中,直到对象B的生命周期结束而结束。在Session接口的实现中包含了一系列的Java集合,这些集合用于保存对持久化对象的引用,因此这些Java集合就构
2014-04-24 17:33:02 700
转载 关于锚点跳转及jQuery下相关操作与插件
http://www.zhangxinxu.com/wordpress/2010/07/%E9%94%9A%E7%82%B9%E8%B7%B3%E8%BD%AC%E5%8F%8Ajquery%E4%B8%8B%E7%9B%B8%E5%85%B3%E6%93%8D%E4%BD%9C%E4%B8%8E%E6%8F%92%E4%BB%B6/
2014-04-24 17:30:48 857 1
转载 深入了解 CSS3 新特性
https://www.ibm.com/developerworks/cn/web/1202_zhouxiang_css3/
2014-04-23 06:08:29 620
转载 HTML5之表单详解
http://mrthink.net/html5-newfeatures-form/时光车轮滚滚碾来,前端之路永无止歇.对于这个前端这门精一多专的技术,任何一次技术革新,我们都必须第一时间去了解它学习它,比如Web世界里这簇美艳的花朵—HTML5.虽然HTML5发布之初,许多人(包括我)都觉得普及它还很遥远,但自发布以来,许多企业级网站对它的尝试应用(比如应用,比如canvas的应
2014-04-23 06:06:38 522
转载 HQL multiple condition
http://www.coderanch.com/t/597389/ORM/databases/HQL-query-multiple-conditions-metview plainprint?Note: Text content in the code blocks is automatically word-wrappedString que
2014-04-22 14:29:04 647
转载 Hibernate – Dynamic-Update Attribute Example
http://www.mkyong.com/hibernate/hibernate-dynamic-update-attribute-example/What is dynamic-updateThe dynamic-update attribute tells Hibernate whether to include unmodified properties in
2014-04-22 14:27:09 836
转载 jQuery AJAX JSON Example – jQuery.parseJSON(), $.post() & $.getJSON()
In jQuery AJAX JSON Example, I have explained how to handle GET and POST JSON requests using jQuery API.Topics Covered.1). Encode Object to JSON String2). Parse JSON String using jQuery3
2014-04-22 14:24:59 1647
转载 jQuery.parseJSON return [object Object]
http://stackoverflow.com/questions/9218900/jquery-getjson-and-jquery-parsejson-return-object-objectalert(jQuery.parseJSON(data))显示[object Object], 应该改用stringify把data转为JSON String。alert(JSON.st
2014-04-22 13:53:26 885
转载 Best Way to Loop Through an Array in JavaScript
http://www.sebarmeli.com/blog/2010/12/06/best-way-to-loop-through-an-array-in-javascript/Last week, a colleague of mine asked me “Why are you using a ‘standard for loop’ rather than the faster
2014-04-22 09:11:56 663
原创 SpringMVC中AJAX通过JSONArray向下拉列表中动态添加选项
方法参考了以下链接:http://blog.csdn.net/jjting/article/details/8653953 http://hayageek.com/jquery-ajax-json-parsejson-post-getjson/http://stackoverflow.com/questions/4969754/jquery-append-to-select
2014-04-22 09:08:23 2034
转载 Github协作开发的一些经验
1. Fork对方的Reopository: yongmingzhang/Proj2. Clone your fork到本地
2014-04-13 16:56:16 618
转载 ssh connect to host port 22 bad file number
http://blog.csdn.net/benweizhu/article/details/8640268在.ssh目录下添加一个叫做config文件,没有后缀名。[plain] view plaincopyHost github.com User git Hostname ssh.github.com P
2014-04-13 13:26:29 1070
转载 jQuery get content between <div> tags
http://stackoverflow.com/questions/6854009/jquery-get-content-between-div-tags
2014-04-13 07:46:46 406
转载 jquery之empty()与remove()区别
要用到移除指定元素的时候,发现empty()与remove([expr])都可以用来实现。可仔细观察效果的话就可以发现。empty()是只移除了 指定元素中的所有子节点,拿$("p").empty()来说,他只是把dsfsd中的文本给移除了,而留下 了,仍保留其在dom中所占的位置。remove([expr])则是把其从dom中删除,而不会保留其所占的位置。例:HelloWor
2014-04-13 07:45:33 464
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人