Hi, same problem here.
After a little rewrite, IE seems to understand this: var link = $("<link/>").appendTo($("head")); link.attr({ rel: "stylesheet", href: path }); Anybody knows any details why IE doesn't like the link-append in jQuery 1.4? On 15 Jan., 03:21, easyOne <yes...@gmail.com> wrote: > I tried to append <link> tag to <head> tag. For this, I wrote > $("<link/>",{...}).appendTo("head"); // jquery 1.4 style > or > $("head").append("<link href.... />"); // jquery 1.3.2 style > . > > Both work nice on Firefox, Chrome, Safari, Opera but IE... > > In case of IE, it works with jQuery1.3.2, but never do anything with > 1.4. Inspecting DOM, there's surely appended <link> tag to <head>.