i have created two radio buttons if i selected one how to disable next one
Code:
<tr class="prop">
<td valign="top" class="name">
</td>
<td valign="top" class="value ${hasErrors(bean: servicesInstance, field: 'byStylist', 'errors')}">
<input type="radio" name="byStylist" value="byStylist"> byStylist
</td>
</tr>
<tr class="prop">
<td valign="top" class="name">
</td>
<td valign="top" class="value ${hasErrors(bean: servicesInstance, field: 'bydate', 'errors')}">
<input type="radio" name="byDate" value="byDate"> byDate
</td>
</tr>
Comment