Javascript multiple file upload with progressbar does not work in firefox, please help

I want to upload files using this javascript snipped as well as processing non file fields on the same form. This works beautiful in IE11, Chrome and Opera, but not in firefox (version 34).
I fired the non file handler with the action attribute on the <form> like this:
<form id="upload_form" enctype="multipart/form-data" method="POST" action="nonFile.php">
and the javascript with:
<input name="submit" type="submit" style="background: green" value="Submit" onclick="return uploadFiles()"/>
When I change type="button" the file uploads work in FF but the I have no control over the non file fileds.
Can someone gives me an indication of what is wrong?
oXHR.upload.addEventListener("progress", function(e){
var percent=(e.loaded/e.total) * 100;
_(idProg).value = Math.round(percent);
_(idstat).innerHTML = filename.name + " "+Math.round(percent)+"% --- Please Wait";
}, false);
// Upload finish, show the size of the file in Bytes, KBytes or MBytes
oXHR.onreadystatechange = function(){
if (oXHR.readyState == 4 && oXHR.status == 200){
var iBytesTransfered = bytesToSize(filesize);
_(idstat).innerHTML = filename.name + " Size: " + iBytesTransfered + " "+100+"%";
_(idProg).value = 100;
// Upload failed
oXHR.addEventListener("error", function(e){
_(idstat).innerHTML = "Upload Failed";
}, false);
// Upload aborted
oXHR.addEventListener("abort", function(e){
_(idstat).innerHTML = "Upload Aborted";
}, false)

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0, 0,0" width="600" height="360">
<param name=movie value="example.swf">
   <param name="allowScriptAccess" value="always" />
<param name="quality" value="high">
<param name="allowScript" value="opaque">
<param name="wmode" value="opaque">
<embed src="example.swf" quality="high" allowScriptAccess="always" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwave Flash" type="application/x-shockwave-flash" width="600" height="360"></embed></object>

Similar Messages

  • Why does iMessages does not work properly ? Please help me ! Its works better with the previous version if compared with the latest iOS

    Why does iMessages does not work properly ? Please help me ! Its works better with the previous version if compared with the latest iOS

    Many, many thanks for both of you Todd and Rick.
    to Rick:
    I suppose you mean the Color Settings in Project Settings as follows:
    - Working Space: None
    - Match Legacy ... Gamma Adjustments checked ON
    But it does not correct the colors in effects. And checking or unchecking Make Movie/Output Module Settings/Color Management/Profile/Preserve RGB does not make any difference.
    to both of you:
    Those parts of the video image that does not have color effects are just fine. In these parts the color is preserved when reimporting to FCP. However, those parts having color effects (except Levels, as decribed earlier) have altered color results. So, only the parts having effects affecting color are misinterpreted in the image area. The mismatch is of course seen in AE, before making the movie.
    What I ment with "Color Management not working properly" is that (instead of "disabling" it) Color Management does not seem to be able to correct this "misinterpretation" or difference in effect handling between AE 6 and 10.
    So, would you have any solution for this problem?
    Again, many thanks for your fast replies!

  • Hello, the 'Save As' dialog box used to allow the backspace button to go up one level in the directory when the focus is in the folder contents box but it does not work any more, please help.

    Hello, the 'Save As' dialog box used to allow the backspace button to go up one level in the directory when the focus is in the folder contents box but it does not work any more, please help. BTW the same 'Save As' dialog in other applications still allow the backspace button to go up one level in the directory.

    cor-el,
    I kept forgetting and procrastinating about following your instructions, since I have internet access only for limited amounts of time and usually I am busy with important tasks when I am.
    Out of the blue, the problem corrected itself (the Save As box started to open full screen, then shrunk down to a normal size and the edges can now be dragged to a custom size).
    Even the copy and paste problem in the filenaming area seems to have been less troublesome lately even though there have been no updates to Firefox in a few weeks.
    Even though I marked the solution as not helpful, the problem has in fact been resolved. I will save the solution instructions in case the issue returns.

  • My iTunes, on my computer is not syncing anything at all. We have tried re-downloading it but it does not work. Someone please help me?

    My iTunes, on my computer is not syncing anything at all. We have tried re-downloading it but it does not work. Someone please help me?

    Here:
    iOS: Device not recognized in iTunes for Windows
    or
    iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X

  • File sharing with MBP does not work

    The problem is that I cannot connect to my first-gen MacBook Pro from my 2 Ghz Intel iMac in my own home network. I have tried opening all ports in the sharing menu without success. The laptop shows up in the finder window but no connection is made. There is not even an error message. It simply says (after a long while) that the connection failed. Nothing even happens when I try to click on the "connect as" button. This is true for file sharing and screen sharing. I can connect to the iMac from the laptop, ironically enough. I was able to connect both ways at one point. My set-up is as follows: airport express connected to modem/router; iMac and laptop connected wirelessly to airport express. Any ideas would be great. I am at a complete loss as the laptop has no other connection issues of any kind.
    Update: I just got an error message for the first time: The server may not exist or it is not operational at this time. Check the server name or IP address and your network connection and try again.

    Connecting via "connect to server" in finder menu using afp does not work either. FYI. It just tries connecting for a long while and then gives me the following error (-36). The finder cannot complete the operation because some data in "afp://....." could not be read or written.

  • File upload (attachment) function does not work in screen suppliers appl

    Hi Friends,
    I am working with SRM5.0 SP08.
    I go to screen suppliers, opens newly registered suppliers (prospects). Under documents tab, we have an option to attach files manually.
    When I browse & select file on my PC and click on "ADD" button, this file does not get attached.
    Can anybody suggest solution, if have come across similar problem?
    Your valuable inputs will be highly appreciated.
    Best Regards,
    Prashant

    Hello!
    I used the REPAIR_BDS_OC1 report, but it sent me some lines in red, do i miss something?
    do i need to configure anything else?
    I have SRM 7.01  SP 0
    I continue without open the Document tab in SUPPLIER PRESCREEN
    I hope you can help me!

  • My Creative Fatality Headset, the microphone does not work!! please help

    Hi..
    I just received my Creative Fatality Gaming Headset last night, it's not the USB, so it's the straight plug in..And my microphone does not seem to be working, it is detected by my computer as "working" but I can't hear $hit to tell you the truth..I called Tech service a couple times and it was , i notice that a lot of people seem to be sharing the same issue, any help? It would be awesome to get my microphone working. Thanks

    Hey mate.
    Could you please say what soundcard you're using?

  • ITunes does not work. very sudden. please help...

    When i open my iTunes i just get the "beach ball of death" straight away. As a result i am listening to my music via "open with" -> "Quicktime"....not as elegant
    Can anybody help me out on this one?
    Thanks! ...i would love to be able to use iTunes again.
    (Apple, take note, this means one less person purchasing from your store)

    I'd suggest that the first thing to try is Repairing Permissions.
    ~~HangTime [♪♫ The Bullets and Bones Band ♫♪] B-)>

  • This one is for Nancy o contact form does not work for me. please help

    http://alpenawebdesigns.com/form1.html
    for css i have form1.css and for php i have vsi2.php
    when i submit the form i get a 404 error and requested url/form-to-email.php not  found
    i like the form and for the life in me i can not see the obvious
    thank you
    allen macfalda

    I changed the vsi2.php to form-to-email.php and it appears to work exceppt that it does not send a return email
    allen macfalda

  • Windows 7 installed fine, now my mac side does not work!! PLEASE HELP

    Hello, i have installed windows 7 fine today on my Macbook pro, and it works perfect. Now when i want to use the mac side of the Laptop, is comes up with the apple in the center as usual, then the screen turns grey with writing (somthing about stuff i dont understand) behind that with the back box ontop which says turn power off and retry or restart. Please help as i need my mac side of the lapatop Thanks

    scottwright76 wrote:
    Hello, i have installed windows 7 fine today on my Macbook pro, and it works perfect. Now when i want to use the mac side of the Laptop, is comes up with the apple in the center as usual, then the screen turns grey with writing (somthing about stuff i dont understand) behind that with the back box ontop which says turn power off and retry or restart. Please help as i need my mac side of the lapatop >Thanks
    Yes, as mentioned above you are having [kernel panics|http://support.apple.com/kb/HT1392?viewlocale=en_US]. Use [this link to troubleshoot your problem|http://www.thexlab.com/faqs/kernelpanics.html].

  • Multiple File Upload With Metadata Using REST

    hi all
    I want to upload multiple files with metadata to document library using REST API. I am using this msdn article
    http://msdn.microsoft.com/en-us/library/office/dn769086(v=office.15).aspx for uploading file. I am able to upload single file to document library but it is not working for multiple file. when I select multiple file it is uploading last selected file. can
    anyone help with this. I am using office 365 environment.
    Thanks in advance

    Hi,
    According to your post, my understanding is that you wanted to use the REST to upload multiple files.
    Per my knowledge, the REST API is not supported for uploading multiple files via a single call.
    You can write your own loop to upload multiple files via an individual call.
    http://sharepoint.stackexchange.com/questions/108525/multiple-file-upload-with-metadata-using-rest/108532#108532
    More reference:
    http://sharepointfieldnotes.blogspot.com/2014/04/uploading-documents-and-setting.html
    http://www.shillier.com/archive/2013/03/26/uploading-files-in-sharepoint-2013-using-csom-and-rest.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Hello, all of a sudden I fell down my system and completely erased all bookmarks. Your progress with restoration does not work, send me ansver,please

    Hello, all of a sudden I fell down my system and completely erased all bookmarks. Your progress with restoration does not work, write me of bookmarks could not be loaded. Please advice on everything because I came and they seriously need it.

    Did your computer crash or did Firefox crash causing the loss of the bookmarks?
    You can check for problems with the places.sqlite database file in the Firefox Profile Folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    See also:
    *http://kb.mozillazine.org/Lost_bookmarks
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.org/kb/Firefox+crashes

  • HT4235 iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    Hmm.. Thank you for the response.
    Have you tried using the iPod with another user account or computer, to help narrow down whether the problem lies with the computer, account, or the iPod itself?
    Maybe try reformatting it, using the tools provided by Windows. Instructions on how to reformat your iPod can be found in this article.
    http://www.methodshop.com/gadgets/ipodsupport/erase/index.shtml
    B-rock

  • Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. Thanks.

    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. I am getting lots of spelling errors as the MacBook laptop screen is too small. Thank you so much! .

    Contentmom6 wrote:
    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work.
    Normally, you just connect the monitor to the MacBook using a VGA adaptor that you can buy from an Apple Store.  Now try System Preferences > Displays > Detect Displays.  You should now be able to select a display mode for the monitor.  If it still doesn't work, then I'd check that everything is properly connected.  I've had problems with colours disappearing due to a faulty connection in the VGA adaptor.
    Bob

  • Why while in Bridge Load Files into photoshop Layers does not work?

    In Bridge, Tools>Photoshop>Load Files into Photoshop Layers does not work.  I have two images selected and when I execute that comman in Bridge nothing happens.  I exited and restarted both PS and Bridge and still nothing.  I am working in Windows 7 and Photoshop cs6.

    No I tried File/scripts/load file into stack and still did not work.
    There was an update to bridge and now it works.  Thanks so much.

Maybe you are looking for

  • Bios 1.90 on 865PE NEO2

    I am currently running bios 1.50 on my 865PE NEO2 LS with a 2.6c and it runs fine, I have it fully tweaked and two months ago when I was setting it up, it turned in the highest 3dmark 2003 score for an fx5600, all that with stock cooling and no cheap

  • Error starting Oracle Application server

    Hi I installed Oracle application server 10g. I successfully installed it. But when i stopped the opmn and emctl process and now when i am trying to start i am able to successfully start but when i type the URL of OAS Admin console. I get following e

  • Needed:  variable weblinks in flash web gallery title & caption fields

    I know that one can put a fixed URL as custom text into a LR flash web gallery title or caption fields and simply click on that field in a gallery and go to that website. However, that URL is fixed and shows up for all images in the gallery. I would

  • Price List per Document Line

    Hi all, Is it possible to select Price list per Document Line, instead of Document? Thanks in Advance

  • Smtp error in a cisco SF300

    I have a problem with a SF300-24 24-Port 10/100 Managed Switch. I want to use the Switch Port Mapper of oputils (manageEngine) and it doesn't bring me the info of the switch such as: vlans, MAC and the  IP address of the devices connected in each por