Selecting radiobuttons populated within asp.net RadioButtonList with jQuery
- by user194881
Hello and thanks in advance for the communal help I always find here. I have been tinkering around with what should seem a pretty straight forward task even for a jQuery newb as myself.
I have a radiobuttonlist control bound to a collection:
<asp:RadioButtonList ID="radBtnLstPackageSelector" runat="server"
CssClass="PackageS">
</asp:RadioButtonList>
My form does have several other controls of the same type;
Now, the challenge is to select and wire up a on Click event for every radiobutton from the radBtnLstPackageSelector.
I have tried several approaches such as:
var results1 = $(".PackageS").children("input");
var results1 = $(".PackageS").children("input[type=radiobutton");
var results1 = $("table.PackageS > input[type=radiobutton");
with no luck...
Your help would be great right now!
~m