change the href of a css link via jquery

$('link[href="https://stackoverflow.com/questions/3829687/foo.css"]').attr('href','bar.css');

have fun

Leave a Comment