阻止某些文字被选中$.fn.disableSelection

$.fn.disableSelection = function() {
    return this.bind( ( $.support.selectstart ? "selectstart" : "mousedown" ) +
        ".ui-disableSelection", function( event ) {
            event.preventDefault();
        });

}


你可能感兴趣的:(阻止某些文字被选中$.fn.disableSelection)