I am trying to upload files using form api in my module and I dont want to use the nid.. I have attached the ".module " file what I have coded... I have refered the drupal's core module-upload module n and have reached the coding to the current extent. When I click on the button " Click here to attach the file", I get error "An HTTP error 0 occurred. /testing/fileattach/js".
Please help me .