title: Checking for attachments in JavaScript
body: <p>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?</p>