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