Sometimes code says more then words, so the following lines work:
$("#text11").append($(xml).find("address").find("street"));
$("#<%= tbWoonplaats.ClientID %>").val('testing?');
but these do not:
var street = $(xml).find("address").find("street");
$("#<%= tbAdres.ClientID %>").val(street);
it displays [object object] in the input
now i've tried to replace .val(street);
with .val(new string(street)); but that doesn't work either
appending to a span works but setting with .val() to input doesn't...
<span id="text11"></span>
EDIT the output of
var street = $(xml).find("address").find("street");
window.alert(street);
is: [object Object]