在jQuery 1.8中,可以按照以下步骤进行 *** 作:
(function($){ $.fn.disableSelection = function() { return this .attr('unselectable', 'on') .css('user-select', 'none') .on('selectstart', false); };})(jQuery);
欢迎分享,转载请注明来源:内存溢出
在jQuery 1.8中,可以按照以下步骤进行 *** 作:
(function($){ $.fn.disableSelection = function() { return this .attr('unselectable', 'on') .css('user-select', 'none') .on('selectstart', false); };})(jQuery);
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)