jquery的preventDefault与index温故 由 fengbingji · 2017 年 11 月 28 日 一财网 每经网 和讯网 今日头条 知乎 搜房网 恒大地产 绿魔方环保 ft中文网 $('.friend-links li a').click(function (e) { e.preventDefault(); console.log($(this).parent().index()); }); 代码说明: e.preventDefault();//阻止默认事件 $(this).parent().index();//获取li所在的index
0 centos中php增加fileinfo的编译过程 2015 年 11 月 30 日 由 fengbingji · Published 2015 年 11 月 30 日 · Last modified 2015 年 12 月 30 日