capturing jquery Radiobutton list selected values
<p>I am trying to get value of selected item using JQuery in a radio button list. I have 2 radio button lists and I am getting value from 1st radio button list with out any issues. But When I select 2nd dropdown, It shows the same first dropdown result in alert.</p>

<p>Please suggest </p>

<pre><code>  $("#&lt;%=RBLTechnology.ClientID%&gt; input").change(function () {

                var ProjectArchitecture = $("input[@name=RBLTechnology]:checked").val();
alert("Selected Project Architecture Layer is " + ProjectArchitecture );
                           });

            $("#&lt;%=RBLforService.ClientID%&gt; input").change(function () {
                var ServiceLayer = $("input[@name=RBLforService]:checked").val();
                alert("Selected Service Layer is " + ServiceLayer);

            });



 &lt;asp:RadioButtonList ID="RBLTechnology" runat="server" RepeatDirection="Horizontal"&gt;
                    &lt;asp:ListItem Selected="True" Value="ASP.NET webforms"&gt;ASP.NET webforms&lt;/asp:ListItem&gt;
                    &lt;asp:ListItem Value="ASP.NET MVC"&gt;ASP.NET MVC&lt;/asp:ListItem&gt;
                    &lt;asp:ListItem Value="SilverLight"&gt;SilverLight&lt;/asp:ListItem&gt;
                    &lt;asp:ListItem Value="WPF"&gt;WPF&lt;/asp:ListItem&gt;
                &lt;/asp:RadioButtonList&gt;


     &lt;asp:RadioButtonList ID="RBLforService" runat="server" RepeatDirection="Horizontal"&gt;
                        &lt;asp:ListItem Selected="True" Value="Class Library Service"&gt;Class Library Service&lt;/asp:ListItem&gt;
                        &lt;asp:ListItem Value="Web Service"&gt;Web Service&lt;/asp:ListItem&gt;
                        &lt;asp:ListItem Value="WCF Service"&gt;WCF Service&lt;/asp:ListItem&gt;
                        &lt;asp:ListItem Value="WCF RIA Service"&gt;WCF RIA Service&lt;/asp:ListItem&gt;
                    &lt;/asp:RadioButtonList&gt;
</code></pre>
