How to put a textbox text in my jQuery function in ASP.NET?
<pre><code>&lt;script type="text/javascript"&gt;
    var progress_key = '&lt;?= $uuid ?&gt;';

    $(document).ready(function() {
    $(".pb3").progressBar({ max: 2000, textFormat: 'fraction', callback: function(data) { if (data.running_value == data.value) {  } }}  );
    $(".pb4").progressBar({ max: 2000, textFormat: 'fraction', callback: function(data) { if (data.running_value == data.value) {  } }}  );
    $(".pb5").progressBar({ max: 2000, textFormat: 'fraction', callback: function(data) { if (data.running_value == data.value) {  } }}  );

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

<p>I am using a jQuery progress bar, and I want to dynamically generate the max field
with text from a text box control. Is this possible and what would I use?</p>

<pre><code>maxValue3 = $(['[id*=label4']).val();
maxValue4 = $(['label5']).val();
maxValue5 = $(['id*=label6']).val();

$(".pb3").progressBar({ max: (maxValue3), textFormat: 'fraction', callback: function(data) { if (data.running_value == data.value) {  } }}  );
$(".pb4").progressBar({ max: (maxValue4), textFormat: 'fraction', callback: function(data) { if (data.running_value == data.value) {  } }}  );
$(".pb5").progressBar({ max: (maxValue5), textFormat: 'fraction', callback: function(data) { if (data.running_value == data.value) {  } }}  );
</code></pre>
