From 1c1d88f24b93bf36064f8e71314bdf8722e7d7ca Mon Sep 17 00:00:00 2001 From: atomaka Date: Sun, 20 Nov 2011 23:53:54 -0500 Subject: [PATCH] Start to accept files via standard upload in case of browser or user incompetence. --- js/jquery.upload-1.0.2.js | 133 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 js/jquery.upload-1.0.2.js diff --git a/js/jquery.upload-1.0.2.js b/js/jquery.upload-1.0.2.js new file mode 100644 index 0000000..c09594d --- /dev/null +++ b/js/jquery.upload-1.0.2.js @@ -0,0 +1,133 @@ +/* + * jQuery.upload v1.0.2 + * + * Copyright (c) 2010 lagos + * Dual licensed under the MIT and GPL licenses. + * + * http://lagoscript.org + */ +(function($) { + + var uuid = 0; + + $.fn.upload = function(url, data, callback, type) { + var self = this, inputs, checkbox, checked, + iframeName = 'jquery_upload' + ++uuid, + iframe = $('