Removing <link> element with jQuery?

前端 未结 4 1209
没有蜡笔的小新
没有蜡笔的小新 2020-12-10 03:45

I don\'t want to use styles from style.css, so I decided to remove style.css from DOM. This work just fine in Firefox and IE8, but not in IE6:

$(\"LINK[href=         


        
4条回答
  •  情书的邮戳
    2020-12-10 04:02

    Topic's quite old, but You can only add ID to your link element, and delete it by element:

    $("#id").remove();
    

提交回复
热议问题