日期:2014-05-17  浏览次数:20442 次

jquery.uploadify上传插件,谁遇到这个问题的呀呀

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head >
    <title>上传产品图片</title>
    <script src="/WebLib/Common/jquery-1.8.0-vsdoc.js" type="text/javascript"></script>
  
    <link href="Css/Tabstyle.css" rel="stylesheet" type="text/css" />
    <!--扩展上传脚本组件  Start-->
    <script src="/WebLib/Common/Component/Uploadify/jquery.uploadify.js" type="text/javascript"></script>
    <link href="/WebLib/Common/Component/Uploadify/uploadify.css" rel="stylesheet" type="text/css" />
    <!--扩展上传脚本组件  End-->    
    <script language="javascript" type="text/javascript">
        $(function () {
            if ($("#transTab h2 a").length > 1) {
                $("#transTab h2 a").click(this, function () {
                    $("#transTab h2 a").removeClass("current");
                    $(this).addClass("current");
                    $(".transSub").hide();
                    var index = $("#transTab h2 a").index(this);
                    $(".transSub").eq(index).show();

                });
            }

            $('#file_upload').uploadify({
                'formData': {
                    'ID': '7'
                },
                'swf': '/WebLib/Common/Component/Uploadify/uploadify.swf',
                'uploader': '/Handler/UploadifyHandler.ashx?action=uploadfyproductimg&imgtype=1',
                'multi': false,
                'debug':true,
                'queueID': 'queue',
                'buttonText': '选择产品