• ajaxFileUpload上传文件


    1、使用正确ajaxFileUpload.js文件

    2、注意加载顺序

     $.ajaxFileUpload({
                url: '@Url.Content("~/Home/AjaxImportAnnex")',
                secureuri: false,
                fileElementId: 'userPhoto',
                dataType: 'json',
                success: function (data, status) {
                    if (data.result) {

                    } else {
                        //artDialog({ id: "waitProxy" }).close();
                        //artDialog.alert("error", "提示", data.msg, function () { });
                    }
                },
                error: function (data, status, e) {
                    alert(e);
                }
            });

  • 相关阅读:
    whereis which type find
    souce and bash 的区别
    systemctl daemon-reload
    linux /etc/profile bashrc bash_profile
    ulimt 和 sysctl
    MySQL 问题总结
    asyncio
    Linux 中 MySQL 操作
    总结一波 Redis 面试题
    os 模块 和 re 模块
  • 原文地址:https://www.cnblogs.com/xgyweb/p/7422552.html
Copyright © 2020-2023  润新知