I have groups of radio buttons at different levels with same class in each level:
<div> <!-- radio group one -->
<input type="radio" name="rdo1" class="some1 text4 radio_group_1" />
<input type="radio" name="rdo2" class="some2 text5 radio_group_1" />
<input type="radio" name="rdo3" class="some3 text6 radio_group_1" />
</div>
<div> <!-- radio group two -->
<input type="radio" name="rdo4" class="some1 text4 radio_group_2 other1" />
<input type="radio" name="rdo5" class="some2 text5 radio_group_2 other2" />
<input type="radio" name="rdo6" class="some3 text6 radio_group_2 other3" />
</div>
... <!-- radio group three (and so on) -->
I can't change the radio names (due to server limitations). So the only thing that I have is the classes that starts with 'radio_group_
'. I use this solution and this without success because the class names are in the middle of other class names.
How can I select radios with same class name and make them act like group radios?