David Perrell wrote: > Jonathan: | mediaType.item(x).setAttribute("media", "all"); ^^^ > should be: mediaType.item[x].setAttribute("media", "all"); The original code was correct. |mediaType[x]| (not |mediaType.item[x]|) is an ECMAScript alternative. David Perrell wrote: > Are you changing multiple stylesheet links? Simpler to give the link > element an id and use getElementByID(). That would be |getElementById| (with a lowercase ādā).Received on Tuesday, 22 July 2008 09:47:14 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:59 GMT