在tinybox内部上传多个图像

时间:2014-02-01 00:11:59

标签: javascript jquery html jquery-plugins

我想在tinybox中构建一个多上传图像片段,但我不能,因为有些脚本发送了一些错误,但是如果我在tinybox之外使用它们,那就有效......

<script src="../main_elements/js/jquery.fileupload.js"></script>
<script src="../main_elements/js/jquery.iframe-transport.js"></script>
<script src="../main_elements/js/jquery.knob.js"></script>
<script src="../main_elements/js/jquery.ui.widget.js"></script>
<script src="../main_elements/js/script.js"></script>

 function loadSellForm() {
        TINY.box.show({
            html:'<div id="upload">' +
                '<div id="drop">' +
                    'Drop Here' +
                    '<a>Browse</a>' +
                    '<input id="mulfile" type="file" name="upl" multiple="multiple" />' +
                '</div>' +
                '<ul>' +
                '</ul>' +
            '</div>', animate: false, close: true, top: 70, opacity: 90)}; }

我正在尝试使用此插件:http://www.jotform.org/jquery/ajax-multi-file-upload-with-progress-bar/

错误:

  

未捕获的TypeError:对象函数(选择器,上下文){//   jQuery对象实际上只是init构造函数'enhanced'         返回新的jQuery.fn.init(selector,context,rootjQuery); } 具有   没有方法'小工具'

     

jquery.fileupload.js:44未捕获的TypeError:Object [object Object]具有   没有方法'fileupload'

0 个答案:

没有答案