I guess you can use the onChange event or the onBlur event and then
check the value of the field...
/Robert
-----Ursprungligt meddelande-----
Fr=E5n: Louise Greally [mailto:lou_greally@h...]
Skickat: den 23 oktober 2002 06:35
Till: javascript
=C4mne: [javascript] File Field event
Hi
Im trying to create a function which is called when a user selects a
file
using the file form field. Im trying to determine that user is
selecting
a file of some picture type. Is there an in bulit function for this and
if not what event can I use to create my own function.
thanks
Louise
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20