摘要: //跟随鼠标 $(window).mousemove(function () { // document.createElement("<div id=dsa></div>"); $("#id").offset({ left: event.x, top: event.y }); }) //编辑... 阅读全文
posted @ 2011-12-29 17:59 高捍得 阅读(159) 评论(0) 推荐(0) 编辑
摘要: $(“form ~input”) //和from同级的 元素 $("input[type=checkbox]:checked") //所有选中的checkbox $("#id").animate({ top: 100 }, "slow", "swing"); //选择的元素要加 position属性 dropdownlist操作 $("#id").change(function(){}); //添加事件 $("#id").find("option:selected& 阅读全文
posted @ 2011-12-29 14:37 高捍得 阅读(1657) 评论(0) 推荐(0) 编辑