I want o get a list of all the radio buttons that are contained in a div using javascript or jquery.
eg
<div id="container">
<input type="radio" id="1">
<input type="radio" id="2">
<input type="radio" id="3">
.... //total no of radio buttons are not known
</div>
I want an array containing an id of all radio buttons contained in div.
arr[0]="1"
arr[1]="2"
arr[2]="3"
...
..