İptal Edildi

Error in Internet Explorer with file upload

We have a website where clients can upload files to our server. This is working fine in Chrome & Firefox, but Internet Explorer seems to have a conflict with the javascript we are using. The problem area looks like this:

And function uploadFile() is not running in IE. The function is below, and the problem may have something to do with webkitslice being depreciated.

We need to get this so it works properly in all major browsers. Let me know if you have any questions.

function uploadFile(id,block,folder){

var files=[url removed, login to view](id).files;

var blob = files[0];

var BYTES_PER_CHUNK = 1024 * 1024; // 1MB chunk sizes.

var SIZE = [url removed, login to view];

var start = block*BYTES_PER_CHUNK;

var end = (block+1)*BYTES_PER_CHUNK;

if(end>SIZE-1)end=SIZE-1;

if(start < SIZE) {

// Note: [url removed, login to view] has changed semantics and been prefixed. See [url removed, login to view]

if ('mozSlice' in blob) {

var chunk = [url removed, login to view](start, end);

} else {

// webkitSlice depreciated, changed to slice elliott

// var chunk = [url removed, login to view](start, end);

var chunk = [url removed, login to view](start, end);

}

upload(chunk,[url removed, login to view],end-start,[url removed, login to view],id,block,folder);

}else return false;

return true;

};

Beceriler: Hata Ayıklama, HTML5, Javascript, jQuery / Prototype, PHP

Daha fazlasını görün: files internet, website with document upload, semantics, problem with name, explorer, upload file javascript error, return file, running error, start upload folder internet explorer, file upload works browsers, php file explorer, javascript file upload, javascript document upload error, javascript internet explorer file upload, javascript upload file internet explorer, internet explorer javascript file upload, block chrome, internet problem, http file upload, elliottbenzle2, upload file using internet transfer control vb6, internet explorer firefox, explorer chrome, file upload using javascript php, elliott

İşveren Hakkında:
( 369 değerlendirme ) Columbus, United States

Proje NO: #4389110

9 freelancer bu iş için ortalamada 61$ teklif veriyor

fuzzoid

I can help you.

in 0 gün içinde45$ USD
(226 Değerlendirme)
6.8
DoraKalesi

I could take a look at this issue.

1 gün içinde 35$ USD
(72 Değerlendirme)
6.6
dungnguyen2607

Hello, ready to start!

1 gün içinde 30$ USD
(106 Değerlendirme)
6.6
AStonetech

We could fix this javascript issue and could make it work in IE with Perfection!!!

1 gün içinde 55$ USD
(151 Değerlendirme)
6.6
phpthebest

Hi, I can start now .

in 0 gün içinde50$ USD
(79 Değerlendirme)
6.0
jaisnikhil

Hi There! Ready to start now. Please check your PMB for more details. Thanks

in 4 gün içinde63$ USD
(68 Değerlendirme)
5.4
Senan2010

Ready for work

in 3 gün içinde55$ USD
(11 Değerlendirme)
4.0
immediateseo

Can do in less than 8 hours

1 gün içinde 55$ USD
(3 Değerlendirme)
2.0
rushidesai29

Hello Sir, I can do this task.

in 2 gün içinde165$ USD
(1 Değerlendirme)
1.1