मैं jquery AJAX fileupload का उपयोग कर रहा हूं। फ़ाइल correctkly अपलोड की गई है, लेकिन मैंjQuery हैंडलर त्रुटि एक फ़ंक्शन नहीं है
TypeError: jQuery.handleError is not a function
[Break On This Error]
jQuery.handleError(s, xml, status, e);
तरह त्रुटि मिली jQuery संस्करण 1.7.2 का उपयोग करने और कोड
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();
}
}
}
}
)
समारोह showprofilepicture() भी excuted नहीं है।
मैंने इसे बदल दिया लेकिन यह काम नहीं कर रहा है अगर मैं इससे पहले एक चेतावनी डालता हूं लेकिन अलर्ट काम नहीं कर रहा है – jackyesind