<head> <link href="foo.css" rel="stylesheet" type="text/css" /> </head>
can I via jquery change the href of this link from foo.css to bar.css
foo.css
bar.css
$('link[href="foo.css"]').attr('href','bar.css');
have fun
1.4m articles
1.4m replys
5 comments
57.0k users