adding php string to some javascript
<p>I'm trying to add a php string to some javascript:</p>

<pre><code>document.getElementById("button").value = mygetrequest.responseText;
</code></pre>

<p>basically there are a load of buttons on one page. </p>

<p>So i need to add a value at the end of button. 
<br>Basically the ID of each row so button<code>&lt;? echo $row['ID']; ?&gt;</code> but i'm not too sure how i would do this in javascript.</p>

<p>Any help</p>

<p>Thanks in advance</p>
