【发布时间】:2011-04-05 10:21:07
【问题描述】:
我需要你的帮助,我正在开发表达式引擎 2.x,并使用 uploadify 来通过 jaquery 方法上传文件。
在 js 代码中我需要提供上传 url 脚本。 并且不要如何调用我在 db 中注册的模块函数。 我试过 index.php?ACT=function_name 但没有追加 谢谢
$.ready(函数(){
$('.uploadify').uploadify({
'swf' : 'http://ee.statistic.local/index.php/themes/thrid_party/bmm_cloudupload/swf/uploadify.swf',
'uploader' : '**http://ee.statistic.local/index.php/index.php?ACT=108**',
'checkExisting' : false,
'debug' : false,
'cancelImage' : 'http://ee.statistic.local/index.php/themes/thrid_party/bmm_cloudupload/uploadify-cancel.png',
'folder' : 'http://ee.statistic.local/index.php/tmp',
'auto' : false,
'buttonText' : 'Select Files',
'fileTypeExts' : '*.*',
'queueID' : 'upload-queue',
'removeCompleted' : false,
'uploadLimit' : 0,
'multi' : true,
'transparent' : true
});
});
【问题讨论】:
标签: jquery ajax module expressionengine