set value of input
<p>Sometimes code says more then words, so the following lines work:</p>

<pre><code> $("#text11").append($(xml).find("address").find("street"));
 $("#&lt;%= tbWoonplaats.ClientID %&gt;").val('testing?');
</code></pre>

<p>but these do not:</p>

<pre><code>var street = $(xml).find("address").find("street");
$("#&lt;%= tbAdres.ClientID %&gt;").val(street);
</code></pre>

<p>it displays [object object] in the input
now i've tried to replace <code>.val(street);</code>
with <code>.val(new string(street));</code> but that doesn't work either</p>

<p>appending to a span works but setting with <code>.val()</code> to input doesn't...</p>

<pre><code>&lt;span id="text11"&gt;&lt;/span&gt;
</code></pre>

<p><strong>EDIT</strong>
the output of </p>

<pre><code>var street = $(xml).find("address").find("street");
window.alert(street);
</code></pre>

<p>is:
[object Object]</p>
