/* * jQuery File Upload Plugin JS Example 5.0.2 * https://github.com/blueimp/jQuery-File-Upload * * Copyright 2010, Sebastian Tschan * https://blueimp.net * * Licensed under the MIT license: * http://creativecommons.org/licenses/MIT/ */ /*jslint nomen: true */ /*global $ */ $(function() { 'use strict'; // Initialize the jQuery File Upload widget: $('#fileupload').fileupload(); // Load existing files: $.getJSON($('#fileupload form').prop('action'), function(files) { var fu = $('#fileupload').data('fileupload'); fu._adjustMaxNumberOfFiles(-files.length); fu._renderDownload(files) .appendTo($('#fileupload .files')) .fadeIn(function() { // Fix for IE7 and lower: $(this).show(); }); }); // Open download dialogs via iframes, // to prevent aborting current uploads: $('#fileupload .files a:not([target^=_blank])').live('click', function(e) { e.preventDefault(); $('<iframe style="display:none;"></iframe>') .prop('src', this.href) .appendTo('body'); }); });
Uncaught TypeError: Object #<Object> has no method 'fileupload' application.js:19 (anonymous function) application.js:19 e.resolveWith jquery.min.js:16 e.extend.ready jquery.min.js:16 c.addEventListener.z
Please say correct solution Friends! Advance Thanks Friends!
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)