Sto usando jquery ajax fileupload. il file viene caricato correctkly ma ho ottenuto errore comeErrore jQuery Handler non è una funzione
TypeError: jQuery.handleError is not a function
[Break On This Error]
jQuery.handleError(s, xml, status, e);
utilizzando jQuery versione 1.7.2 e il codice è
jQuery.ajaxFileUpload
(
{
url:'<?php echo $currenturl.'&fileupload=enable';?>',
secureuri:false,
fileElementId:'fileToUpload',
dataType: 'json',
data:{'image_desc':image_desc,'gallery_id':curr_time_stamp},
success: function (data, status)
{
if(typeof(data.error) != 'undefined')
{
if(data.error != '')
{
alert(data.error);
}else
{
alert(data.msg);
showprofilepicture();
}
}
}
}
)
la funzione showprofilepicture(), inoltre, non excuted.
ho cambiato questo, ma non funziona ho messo un avviso prima del se ma l'avviso non funziona – jackyesind