javascript variable pass by url
<pre><code>&lt;script language=JavaScript&gt;

function add()
 {

***Z***=3025;
}
&lt;/script&gt;
&lt;form........&gt;
&lt;input type ="submit" onClick="add()"
&lt;/form&gt;

&lt;a herf="http://XXXXXXXX.co.uk/XXXX.qmd?pack_id=***Z***"&gt;&lt;/a&gt;
</code></pre>

<p>need to put the Z*<strong>emphasized text*</strong> value in the URL
The value of z will be produce by another java script function ADD</p>
