jquery - Uploadify does not display button -


i'm trying make uploadify 3.0 (jquery based file uploading script) work, seems cant. here's how i'm using it:

<script type="text/javascript" src="jquery.uploadify.min.js"></script> <script type="text/javascript" src="jquery-1.5.js"></script> <script type="text/javascript"> $(document).ready(function() { $('#file_upload').uploadify({ 'swf' : 'uploadify.swf', 'uploader' : 'uploadify.php', 'cancelimg' : 'uploadify-cancel.png', 'folder' : 'uploads', 'auto' : true }); }); </script> 

and here's html part:

<fieldset style="border: 1px solid #cdcdcd; padding: 8px; padding-bottom:0px; margin: 8px 0">         <legend><strong>uploadify - single , multiple sample</strong></legend>          <h2>multiple file auto upload</h2>         <p>images only</p>        <input id="file_upload" name="file_upload" type="file" />          <p></p>     </fieldset> 

thanks help.

i see several things raise eyebrow me. first see no reference swfobject script. should have line similar this.

<script type="text/javascript" src="/swfobject.js"></script> 

or there freely hosted version here

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js"></script> 

also don't see reference uploadify .css file determines upload button's location, image, etc.

<link href="/uploadify/uploadify.css" type="text/css" rel="stylesheet" /> 

and looks have file paths looking @ root directory, correct project? have uploadify.swf, uploadify.php, , uploadify-cancel.png in same directory?

make sure folder uploading exists , has write permissions.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -