Jquery to capture value and pass the value to a hidden field
<p>I wrote a script that  changes text based on user selection, which is working fine.
I am not sure how using Jquery to capture the user selected selection and pass the value below to the hidden field ie replace the value="100" with the user selected value  example value="trade"? -thanks</p>

<p>JQUERY</p>

<pre><code>    $(document).ready(function() {    
        $('#trade').click(function() {
            $('#form').attr("class","trade");    //trade selected
            $('#trade').addClass("current");
            $('.lblMadlib112').text("some text1");// adds some text to this field           

         });

$('#football').click(function() {
            $('#formr').attr("class","football");//football    
            $('#football').addClass("current");
                       $('.lblMadlib112').text("some text here");// adds some text to this field      



         });

});
</code></pre>

<p>.NET stuff</p>

<pre><code>&lt;asp:HiddenField ID="hdnThemeId" runat="server" Value="100" /&gt;
</code></pre>
