Trying to covert a variable into its value within a URL
<p>I'm trying to insert a variable's value into a url, but it's not working; I'm just getting the variable not the value</p>

<p>'myid' and 'verif' are the variables and their values are integers.</p>

<p>This code inserts the url into a hidden field in a form</p>

<pre><code>$('#return').val(http://pegdown.com/index.php?option=com_joom_creditspack&amp;controller=paypal&amp;view=paypal&amp;layout=return&amp;task=checkout&amp;myid=myid&amp;packid=1&amp;verif=verif&amp;jcode=xxx111xxx);
</code></pre>

<p>How do I write the following url so the variables 'myid' and 'verif' are converted to their values?</p>
