Suppose there are three stylesheets that modify the body of the page that are located in the header. Lets say the goal is to disable the first and third stylesheet in the header.
Since the first stylesheet has an id, it will be made use of. The following selects the first stylesheet and turns the JQuery object to a DOM element and disables the stylesheet.
$('#just-a-stylesheet').disabled = true;
The third stylesheet does not have an id for referencing, so the href will be use to identify the third.
$('head').children('link[href="third.css"]').disabled = true;
The final result of this will make the body green because only the second stylesheet will remain active.