0

i have a page inside it a iframe inside this iframe i do my upload file staff all what i want to do here is how to hide the progress bar or make it not working when a post back happens inside this iframe in javascript

Regards

Marwan
  • 2,362
  • 1
  • 20
  • 35

1 Answers1

1

You can't hide the iframe status, but you can work around it to achieve the same result:

You can upload files via XHR2. This isn't supported by many browsers yet due to the draft being quiet new.

For IE users you can create an htmlfile(More info Here) that mimics an iframe but isn't part of the DOM using activeX: new ActiveXObject("htmlfile");

For those that do not support the previous you can use alternatives such as a flash plugin. For more info about these alternatives check this post.

As a quick note, both jqUploader's and jquery-multifile-uploader's fall back is the importing of a flash object.

Community
  • 1
  • 1
SReject
  • 3,774
  • 1
  • 25
  • 41
  • +1 sorta useful to me but jquery did it in the file upload plug in so there must be a way to do it :) thanks any way – Marwan Oct 21 '12 at 11:50
  • which plugin? the two I mentioned above attempt to use xhr2 then fall back to htmlfile if IE, then fall back to importing a flash if no other possibility – SReject Oct 21 '12 at 11:56
  • What you just linked doesn't actually upload the files. it allows the user to select multiple files to upload – SReject Oct 21 '12 at 12:19