Side navigation
#9551 closed bug (invalid)
Opened June 09, 2011 08:49AM UTC
Closed June 13, 2011 03:04PM UTC
Last modified June 14, 2011 02:59PM UTC
not work dynamic append css file to head without full path to css file
Reported by: | andy | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | manipulation | Version: | 1.5.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
IE 6/7/8 bug with jQuery 1.5.2-1.6.1
not work dynamic append css file to head without full path to css file
$('head').append('<link href="/css/style.css" rel="StyleSheet" type="text/css"/>'); - NOT WORK
$('head').append('<link href="http://jsfiddle.net/css/style.css" rel="StyleSheet" type="text/css"/>'); - WORK!
I don't think this is actually an issue with jQuery. jQuery does not affect what is passed and if it did, I'm not sure we could consistently predict which urls need to be absolute or if link tags are a special case. Either way, it would be extra code. If using the absolute url fixes the problem, I don't think this is something we want to tackle.