Jonathan: | mediaType.item(x).setAttribute("media", "all"); ^^^ should be: mediaType.item[x].setAttribute("media", "all"); Are you changing multiple stylesheet links? Simpler to give the link element an id and use getElementByID(). David PerrellReceived on Monday, 21 July 2008 18:26:29 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:59 GMT