Javascript passing variable to Jquery
<pre><code>&lt;script type="text/javascript"&gt;

function DoThings()
{
 var txt = txtbox.value;

 txt = /* passed info from code behind */
}


$(function() { var Tags=[ txt ]; $( "txtbox2").autocomplete({source: Tags});});

&lt;/script&gt;
</code></pre>

<p>but i want to move it to the page. im unsure how i send the variable "txt" to my jquery function</p>
