为什么我不能上传我的图片?我有这个错误,有人能帮帮忙吗,我真的迷路了一个星期了,谢谢
If Page.IsPostBack = False Then
' Getting the File Name
Dim filename As String = e.FileName
' Setting the path to upload Images
AjaxFileUpload1.SaveAs(Server.MapPath("images/") & filename)
我正在使用ajaxfileupload上传文件,每当我上传文件时,它都会给我这个错误。我试了很多次来解决这个问题,但是没有成功。
TypeError: $.ajaxFileUpload is not a function
success: function (data, status)
下面是我的代码。
$id =$("#id").val();
$.ajaxFileUpload
(
{
type: "POST",
url: "main_page
嗨,伙计们,我对ajaxfileupload插件有问题,我的图片被上传了,但是回调返回错误。
下面是开发人员工具显示的错误
Uncaught TypeError: Object function ( selector, context ) {
// The jQuery object is actually just the init constructor 'enhanced'
return new jQuery.fn.init( selector, context, rootjQuery );
} has no method '
我正在使用上传和使用jQuery 1.7.2。我得到了一个像这样的错误
TypeError: jQuery.createUploadForm is not a function
[Break On This Error]
... jQuery.createUploadForm(id, s.fileElementId, (typeof(s.data)=='undefined'?false...
我的代码是
function ajaxFileUpload()
{
jQuery.ajaxFileUpload
(