Another problem with a "file" form field uploader
well, within my form, there's a file field, where i want to first validate that the user has browesed and choosen a certain file format (let's say ".jpg" OR ".gif") with a maximum size of 20K.
we see this script everywhere when we're dealing with forms on the net, so can anybody enlighten me with the Javascrpit validating code that can do this task? :)
by the way, i'm a PHP programmer, so plz forgive my amateur JS questions :)