java value copied into href
<p>Is there a simple way to echo the values of two math formula that shows up in my code as: </p>

<pre><code>&lt;input name="Text22" id="text22" type="text" VALUE="$" readonly="readonly"&gt;
&lt;input name="Text23" id="text23" type="text" VALUE="$" readonly="readonly"&gt;
</code></pre>

<p>and put it into a string: </p>

<pre><code>&lt;p&gt;&lt;a href="#" onclick="javascript:location.href='https://www.site.com' + 'VALUE' + 'VALUE' +
</code></pre>
