/** * ajax文件上传插件 * 参考文档: http://www.cnblogs.com/kissdodog/archive/2012/12/15/2819025.html * github: https://github.com/carlcarl/AjaxFileUpload */ jQuery.extend({ createUploadIframe: function(id, uri) { //create frame var frameId = 'jUploadFrame' + id; if(window.ActiveXObject) { var io = document.createElement('