How to use jQuery to switch style sheets

From , 3 Years ago, written in JavaScript, viewed 123 times.
URL https://pastebin.vip/view/f6f15441
  1. //找出你希望切换的媒体类型(media-type),然后把href设置成新的样式表。
  2. $('link[media='screen']').attr('href', 'Alternative.css');
  3.  

Reply to "How to use jQuery to switch style sheets"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website