摘要:
移除事件 unbind(type [,data]) //data是要移除的函数 $('#btn').unbind("click"); //移除click $('#btn').unbind(); //移除所有 阅读全文
摘要:
1、 返回偏移坐标 $(selector).offset(); top: $(selector).offset().top; left: $(selector).offset().left; 2、设置偏移坐标: $(selector).offset({top:value,left:value}); 阅读全文