<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Try using Firefox with the Firebug extension. Open the Firebug
    window and do the upload. Look in the net tab in Firebug and find
    the request to /testing/fileattach/js. Expand that request and check
    the response tab to see what is coming back. It sounds like you
    aren't getting a JSON response, which could mean an error in your js
    menu callback. Seeing what is outputted in response will greatly
    help with that.<br>
    <pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a> 
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
    <br>
    On 2/12/2011 2:57 AM, pavithra wrote:
    <blockquote
      cite="mid:AANLkTimnPV3_oCTzyF3dcdDdma9jXnEtn36t4g_SoiD-@mail.gmail.com"
      type="cite">I am trying to upload files using form api in my
      module and I dont want to use the nid..
      <div>I have attached the ".module " file what I have coded...</div>
      <div>I have refered the drupal's core module-upload module n and
        have reached the coding to the current extent.</div>
      <div>When I click on the button " Click here to attach the file",
        I get error "An HTTP error 0 occurred.&nbsp;</div>
      <div>/testing/fileattach/js".</div>
      <div><br>
      </div>
      <div>Please help me .</div>
      <div><br>
        -- <br>
        <font face="'times new roman', serif"><b><i><font
                color="#009900">Cheers</font><br>
            </i></b></font><font color="#c0c0c0"><b><br>
          </b></font><br>
      </div>
    </blockquote>
  </body>
</html>