In some pc in browser ie9 while uploading jpg file ...
file does not upload instead open/save dialog box appears...
appreciate if anybody ...could let me know the cause
-----------------------------------------------------------
Note : Development is in Jquery , JSON enviroment in ASP.Net
-----------------------------------------------------------
Other Pc with ie9 working fine no issue for uploading
-----------------------------------------------------------
Regards
Khan
ShehzadPosted Aug 28, 2013, 11:43 PM
Iftikar HussainPosted Aug 28, 2013, 3:02 AM
ShehzadPosted Aug 28, 2013, 2:40 AM
the complete .js file?
Iftikar HussainPosted Aug 28, 2013, 2:31 AM
ShehzadPosted Aug 28, 2013, 2:25 AM
I have tried putting datatype & format as json & utf-8...but the below code block was not working...below is the code block where there is issue only in some pc for ie9....
$.ajaxFileUpload(
{
url: '../xxt.ashx?fn=saveimage',
secureuri: false,
fileElementId: 'fileToUpload',
success: function (data, status) {
$('#uploadmsg').css("display", "none");
$('#fileToUpload').attr("serverfile", data.documentElement.innerText);
$('#imgcontainer').html("
Product.SmallImagePath = $('#fileToUpload').attr("serverfile");
},
error: function (data, status, e) {
$('#uploadmsg').css("display", "none");
}
}
);
Regards
Khan
Iftikar HussainPosted Aug 23, 2013, 8:34 AM
Please refer the below link
http://stackoverflow.com/questions/5388893/ie9-json-data-do-you-want-to-open-or-save-this-file
Regards,
Iftikar