jquery-uploadify上传插件上传按钮不能点击

银粟 发布于 2015/12/14 16:58
阅读 1K+
收藏 0

【开源中国 APP 全新上线】“动弹” 回归、集成大模型对话、畅读技术报告”

最近做文件上传的时候用jquery-uploadify3.1上传,可是上传按钮点击后没有反应,也不知道是怎么回事,请大家帮忙看看

我的html页面

<html>
<head>
<title>test</title>
<link href="css/uploadify.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="js/jquery-1.7.2.min.js" ></script>

<script type="text/javascript" src="js/jquery.uploadify.js" ></script>
<script type="text/javascript" src="js/swfobject.js" ></script>
<script type="text/javascript" src="js/activity.js" ></script>

</head>
<input type="file" name="files_uploadify" id="files_uploadify_lala"/>
<div id="filequen"></div>
<body>


</body>
</html>


我的js,名字就是activity.js

$(document).ready(function () {
    //原图上传
    $("#files_uploadify_lala").uploadify({

        height :29,
        weight : 96,
        fileSizeLimit : '500MB',
        fileTypeDesc : '文件',
        fileTypeExts : '*.jpg; *.png',
        swf : 'swf/uploadify.swf',
        uploader: '',
        buttonText : '本地上传',
        buttonImage : 'images/but.png',
        multi : false
        
    });
});


加载中
0
没有太阳的夜晚
uploader 这个是什么? 你怎么不写?  一般处理程序。。处理图片上传
银粟
银粟
该评论暂时无法显示,详情咨询 QQ 群:点此入群
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部