#9551 closed bug (invalid)
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 http://jsfiddle.net/DVkzZ/2/
$('head').append('<link href="http://jsfiddle.net/css/style.css" rel="StyleSheet" type="text/css"/>'); - WORK! http://jsfiddle.net/DVkzZ/3/
Change History (2)
comment:1 Changed 12 years ago by
Component: | unfiled → manipulation |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.