Checking for attachments in JavaScript

Posted by Sanjay on Stack Overflow See other posts from Stack Overflow or by Sanjay
Published on 2010-05-10T15:41:04Z Indexed on 2010/05/10 15:44 UTC
Read the original article Hit count: 139

Filed under:
|
|
|

Prior to submitting a form, I would like to check if a file has been attached and pop up a warning message saying that a file needs to be attached if it hasn't been. I was wondering how to accomplish this using JavaScript or Prototype or JQuery etc?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery