send a datastructure to ajax
<p>this is how i now receive the php response</p>

<pre><code>var txt = ajaxRequest.responseText;
</code></pre>

<p>the php script echos the response.</p>

<p>how can i send a datastructure from php to javascript ? echoing the response it very difficult and not so powerfull.</p>
