Unable to get the Text box value in Javascript
<p>I am using Jquery Tokeninput to select multiple values but when i tried to select the values in text box it's always coming blank I am using below Jquery function to retreive the val.
Please refer to to my previous question on stack <a href="http://stackoverflow.com/questions/11613194/how-to-send-json-data-from-aspx-page">Here</a></p>

<pre><code>  var values = $("#txtTest").val();
        $("#Button1").click(function() {
          alert(values);
            return false;
        });
</code></pre>

<p>Please find the screen shot or same.</p>

<p><img src="http://i.stack.imgur.com/borYV.jpg" alt="enter image description here"></p>
