最近做文件上传的时候用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
});
});