<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: JQuery AJAX Uploader Plugin</title>
	<atom:link href="http://www.fullfatcode.com/2009/06/06/jquery-ajax-uploader-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fullfatcode.com/2009/06/06/jquery-ajax-uploader-plugin/</link>
	<description>The code blog of web developer James Carmichael</description>
	<lastBuildDate>Mon, 29 Aug 2011 19:15:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Charles</title>
		<link>http://www.fullfatcode.com/2009/06/06/jquery-ajax-uploader-plugin/comment-page-1/#comment-5462</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 29 Aug 2011 19:15:29 +0000</pubDate>
		<guid isPermaLink="false">http://fullfatcode.wordpress.com/?p=17#comment-5462</guid>
		<description>Greetings,

Thanks for posting this; I was looking for a simple ajax-y uploader to handle some image uploads without page refreshes and yours looks good and doesn&#039;t depend on flash like most other similar scripts appear to.  

I am however having a problem with it -- I see the onStart and loading callbacks trigger, but the upload form does not appear to submit, and the onComplete callback is never called.

My upload form is created in a table cell on demand, and then I call .ajaxUpload() on it like this:
&lt;code&gt;
[...]
var $dataid = ...
var $formid = ...
var $this_form = ...
td.html($this_form);
$(&#039;#&#039; + $formid).ajaxUpload({
    onStart: function() {
        console.log(&quot;Upload for dataid &quot; + $dataid + &quot; starting!&quot;);
        td.html(&quot;Loading anim maybe goes here?&quot;);
    },
    loading: function() {
        console.log(&quot;Upload for dataid &quot; + $dataid + &quot; loading!&quot;);
        td.html(&quot;Loading anim goes here!&quot;);
    },
    onComplete: function(returned_json) {
        console.log(&quot;Upload for dataid &quot; + $dataid + &quot; complete, status &quot; + returned_json);
        td.html(&quot;Image thumbnail goes here!&quot;);
    }
});
&lt;/code&gt;

I&#039;m using jQuery v1.6.2.  When I trigger the creation of the form it looks fine.  I select a file and click the submit button to start the upload, and I see the onStart and loading callbacks are called and log to the console, but no request is sent to the server, and the onComplete callback is never called.

I&#039;m using Firefox 6 (on Ubuntu/Linux) at the moment.  If I try with Chrome 13, the upload request appears to actually be sent, but the onComplete callback still doesn&#039;t fire.

Any advice?  Does this script have incompatibilities with newer jQuery or newer browsers?  Is there any info I can collect you&#039;d like to see?

Thanks,

Charles</description>
		<content:encoded><![CDATA[<p>Greetings,</p>
<p>Thanks for posting this; I was looking for a simple ajax-y uploader to handle some image uploads without page refreshes and yours looks good and doesn&#8217;t depend on flash like most other similar scripts appear to.  </p>
<p>I am however having a problem with it &#8212; I see the onStart and loading callbacks trigger, but the upload form does not appear to submit, and the onComplete callback is never called.</p>
<p>My upload form is created in a table cell on demand, and then I call .ajaxUpload() on it like this:<br />
<code><br />
[...]<br />
var $dataid = ...<br />
var $formid = ...<br />
var $this_form = ...<br />
td.html($this_form);<br />
$('#' + $formid).ajaxUpload({<br />
    onStart: function() {<br />
        console.log("Upload for dataid " + $dataid + " starting!");<br />
        td.html("Loading anim maybe goes here?");<br />
    },<br />
    loading: function() {<br />
        console.log("Upload for dataid " + $dataid + " loading!");<br />
        td.html("Loading anim goes here!");<br />
    },<br />
    onComplete: function(returned_json) {<br />
        console.log("Upload for dataid " + $dataid + " complete, status " + returned_json);<br />
        td.html("Image thumbnail goes here!");<br />
    }<br />
});<br />
</code></p>
<p>I&#8217;m using jQuery v1.6.2.  When I trigger the creation of the form it looks fine.  I select a file and click the submit button to start the upload, and I see the onStart and loading callbacks are called and log to the console, but no request is sent to the server, and the onComplete callback is never called.</p>
<p>I&#8217;m using Firefox 6 (on Ubuntu/Linux) at the moment.  If I try with Chrome 13, the upload request appears to actually be sent, but the onComplete callback still doesn&#8217;t fire.</p>
<p>Any advice?  Does this script have incompatibilities with newer jQuery or newer browsers?  Is there any info I can collect you&#8217;d like to see?</p>
<p>Thanks,</p>
<p>Charles</p>
]]></content:encoded>
	</item>
</channel>
</rss>

