Activate fileupload click event from script

Mar 10, 2008 at 7:52 PM
Hi there,

Is there a way to have a Buttona that when clicked
1) calls the fileupload.click event
2) gets the filename
3) if certain extension, will uplaod the file automatically
4) else it will do something else and will NOT upload the file

Thanks,
Filippo