This is another example of cross browser inconsistencies. In addition, the result of accessing this property is not truly a collection but a comma delimited string which needs to be unpacked into an array. In some cases, the string is empty where there are no appropriate file types.
Any code you develop needs to take account of the separator being a comma in MSIE and a comma+space in Netscape.
Prev | Home | Next |
MimeType.name | Up | MimeType.type |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |