JSF 2.0 アプリケーションを開発しています。Javaスクリプト/jqueryコードからどのラジオボタンが選択されたかを確認するにはどうすればよいですか?
私のラジオボタンのコードは
<t:selectOneRadio id="options" value="#{reqscope.selectedRadio}" layout="spread">
<f:selectItem itemValue="policynum" itemLabel="Policy number" />
<f:selectItem itemValue="custId" itemLabel="Customer ID" />
</t:selectOneRadio>
<t:radio for="options" index="0" name="search_by1" onclick="policyradioselected()" />
<t:radio for="options" index="1" name="search_by" onclick="customerradioselected()" />