i m using a radioButtonList in asp.net web form, now i want to get selectedvalue of checked radio button,i used following code
var radio=document.getElementsByName("<%=rdoListSearchOrder.ClientID %>") [0].checked;
but i m getting 'undefined'
what's the wrong in my code thnaks