$('#display).text() returning as [object%20Object]
<p>I'm trying to get what's inside a <code>&lt;div&gt;</code> with ID of <code>display</code> using</p>

<pre><code>$("#display").after(html);
var testxd = $("#display").text();
window.location.replace("test.php?v="+testxd);
</code></pre>

<p>and all I get is a BLANK. I Help?</p>

<p>Here is div <code>display</code>:</p>

<pre><code>&lt;div id="display" style="display: none;"&gt;&lt;/div&gt;
</code></pre>

<p>I know the ID is in the because the ID shows up during <code>after(html)</code>;</p>
