自定义选择器

(function($)
{
    $.extend($.expr[':'],
    {
        between:function(a,i,m)
        {
            var tmp=m[3].split(',');
            return tmp[0]-0<i&&i<tmp[1]-0;
        }
    });
})(jQuery);

对最新版无效

posted @ 2015-11-09 23:29  simple_ac  阅读(119)  评论(0编辑  收藏  举报