Getting extra quotes in fileuploader POST response
<p>I am using Valum's fileuploader <a href="http://valums.com/ajax-upload/" rel="nofollow">http://valums.com/ajax-upload/</a></p>

<p>The below index.html uploads a file, and post.php returns some json.  Sorry for not making a jsfiddle, but don't know how to implement the ajax response.</p>

<p>With FF, responseJSON.icon is</p>

<pre><code>&lt;img src="http://www.tapmeister.com/test/doc.png" width="32" height="32" /&gt;
</code></pre>

<p>With IE8, however, responseJSON.icon is</p>

<pre><code>&lt;IMG src='"http://www.tapmeister.com/test/doc.png"' width='"32"' height='"32"' &gt;
</code></pre>

<p>I am okay with img being capitalized, however, those extra quotes are causing me havoc.</p>

<p>How is this fixed? Thank you</p>

<p>index.html</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
    &lt;link href="fileuploader.css" rel="stylesheet" type="text/css"&gt; 
    &lt;style&gt;body {font-size:13px; font-family:arial, sans-serif; width:700px; margin:100px auto;}&lt;/style&gt;
    &lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt; 
    &lt;script src="fileuploader.js" type="text/javascript"&gt;&lt;/script&gt;
    &lt;script&gt;        
    $(function(){
        var uploader = new qq.FileUploader({
            element: document.getElementById('file-uploader-demo1'),
            action: 'post.php',
            onComplete: function(id, fileName, responseJSON){
                $('#icons').append('&lt;li&gt;'+responseJSON.icon+' '+$('&lt;span/&gt;').text(responseJSON.icon).html()+'&lt;/li&gt;');
            },
            debug: true
        });
    });
     &lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;      
    &lt;div id="file-uploader-demo1"&gt;&lt;/div&gt;
    &lt;ul id="icons"&gt;&lt;/ul&gt;    
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>post.php</p>

<pre><code>&lt;?php
$icon='&lt;img src="http://www.tapmeister.com/test/doc.png" width="32" height="32" /&gt;';
$data=array('icon'=&gt;$icon, 'other'=&gt;'other data');
echo(json_encode($data));
?&gt;
</code></pre>
