• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
jquery is not working with blueimp upload

#7
[eluser]bill19[/eluser]
Sorry for the delay in getting back to you,

My view now looks like:

Code:
<html>
<head>
<title>Upload Form</title>
        <skript src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javaskript" charset="utf-8"></skript>
        <skript  type="text/javaskript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js" ></skript>
&lt;link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/base/jquery-ui.css" id="theme"&gt;
&lt;link rel="stylesheet" href="http://dl.dropbox.com/u/8626323/dnd/jquery.fileupload-ui.css"&gt;
&lt;style&gt;
body {
  font-family: Verdana, Arial, sans-serif;
  font-size: 13px;
  margin: 0;
  padding: 20px;
}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
  &lt;?php echo $error;?&gt;
  &lt;?php echo form_open_multipart('upload/do_upload', array('id' => 'file_upload')); ?&gt;
   &lt;input type="file" name="userfile" multiple /&gt;
   <button>Upload</button>
   <div>Upload files</div>
  &lt;?php echo form_close(); ?&gt;
  <table id="files"></table>
   <skript src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></skript>
   <skript src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></skript>
   <skript src="../jquery.fileupload.js"></skript>
   <skript src="../jquery.fileupload-ui.js"></skript>
   <skript>
   /*global $ */
   $(function () {
    $('#file_upload').fileUploadUI({
    uploadTable: $('#files'),
    downloadTable: $('#files'),
    buildUploadRow: function (files, index) {
    return $('<tr><td>' + files[index].name + '<\/td>' +
     '<td class="file_upload_progress"><div><\/div><\/td>' +
     '<td class="file_upload_cancel">' +
     '<button class="ui-state-default ui-corner-all" title="Cancel">' +
     '<span class="ui-icon ui-icon-cancel">Cancel<\/span>' +
     '<\/button><\/td><\/tr>');
    },
    buildDownloadRow: function (file) {
     return $('<tr><td>' + file.name + '<\/td><\/tr>');
    }
    });
   });
   </skript>
&lt;/body&gt;
&lt;/html&gt;

Using firebug, I'm getting the following errors when the form loads:

Quote:"NetworkError: 404 Not Found - http://localhost/ionauth1/index.php/jquery.fileupload.js"
jquery...load.js
"NetworkError: 404 Not Found - http://localhost/ionauth1/index.php/jquery.fileupload-ui.js"
jquery...d-ui.js
"NetworkError: 404 NOT FOUND - http://dl.dropbox.com/u/8626323/dnd/jque...oad-ui.css"
jquery...-ui.css
"NetworkError: 404 Not Found - http://localhost/ionauth1/index.php/jquery.fileupload.js"
jquery...load.js
"NetworkError: 404 Not Found - http://localhost/ionauth1/index.php/jquery.fileupload-ui.js"

It seems that the view is searching locally for the CDNs for some reason. How can I fix this?

Bill


Messages In This Thread
jquery is not working with blueimp upload - by El Forum - 05-25-2012, 01:34 PM
jquery is not working with blueimp upload - by El Forum - 05-25-2012, 02:49 PM
jquery is not working with blueimp upload - by El Forum - 05-25-2012, 09:05 PM
jquery is not working with blueimp upload - by El Forum - 05-25-2012, 09:37 PM
jquery is not working with blueimp upload - by El Forum - 05-25-2012, 09:45 PM
jquery is not working with blueimp upload - by El Forum - 05-28-2012, 10:45 AM
jquery is not working with blueimp upload - by El Forum - 05-28-2012, 10:50 AM
jquery is not working with blueimp upload - by El Forum - 05-28-2012, 11:21 AM
jquery is not working with blueimp upload - by El Forum - 05-28-2012, 01:19 PM
jquery is not working with blueimp upload - by El Forum - 05-29-2012, 07:40 AM
jquery is not working with blueimp upload - by El Forum - 05-30-2012, 07:10 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.