1.UI
http://jqueryui.com/
在这里可以找到你想要的任何资料
鼠标交互
#1 拖拽
draggable
http://api.jqueryui.com/draggable/
#2放下被拖拽的元素
droppable
http://api.jqueryui.com/droppable/
drop函数中参数为event,ui,但是想要获取真正的ui元素需要
ui.droppable[0].src if image
2.Form
3.尺寸
width() height() 内容宽高
innerWidth() innerHeight() 带上padding的宽高
outerWidth() outerHeight() 带上padding+border的宽高,有一个参数options默认为false,即不算margin