css - jQuery – enable/disable all style sheets on page on click -
is possible detect style sheets on current page click of ‘disable/enable css’ button , disable them on first click none of styling applies, , restore them once again on second click? idea jquery like, if it’s possible?
$('link[rel="stylesheet"]').attr('disabled', 'disabled');
this should disable of them, opposite renable them:
$('link[rel="stylesheet"]').removeattr('disabled');
Comments
Post a Comment