On Mon, Oct 01, 2001 at 05:06:37PM -0400, Bob Bell <[EMAIL PROTECTED]> wrote:
>     To my knowledge, you can't specify this in a cross-platform way.
> Note that Mozilla (and I think IE) come up with a default filter of "*"
> ("*.*" for IE).  I'm not sure if you can customize on the client.
> 
>     http://www.w3.org/TR/html401/interact/forms.html#file-select
>     http://www.w3.org/TR/html401/interact/forms.html#input-control-types
> 
>     This documents states that "User agents may use the value of the
> value attribute as the initial file name", but Netscape doesn't appear
> to treat a value of "*.jpg" as a wildcard.

    Well, I have to take some of that back.  Apparently you can specify
and "accept" field that lists MIME types that the server will be able to
handle.

    http://www.w3.org/TR/html401/interact/forms.html#adef-accept

    That said, while it would make sense to do so, neither Netscape
Navigator nor Mozilla appear to use this list to adjust the filter of
the file select control.

-- 
Bob Bell <[EMAIL PROTECTED]>
-------------------------------------------------------------------------
 "Microsoft has never been an innovator - it's a fast follower.  And
  when you're as big and dominant as Microsoft, and growing at 30 or 40
  percent a year, it gets harder and harder to find people to be fast
  followers of."
   -- Paul Saffo, Institute for the Future

**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to