Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
72
rated 0 times [  76] [ 4]  / answers: 1 / hits: 15390  / 11 Years ago, wed, april 3, 2013, 12:00:00

I have the below radio button. When it is clicked it is not possible to clear the radio button.



the code is



<td class=Label>
<input class=Label type=radio name=reviewoptions_{@id} value=other onClick=reAssign({count(../bankguaranteedata)},document.lending.guaranteereviewoptions,this,{@id})>
<xsl:if test=guaranteereviewoptions/reviewoptions[@id='other']='checked'>
<xsl:attribute name=checked/>
</xsl:if>
</input>Other</td>


is it possible that when its clicked again it will clear the radio button?


More From » xslt

 Answers
8

It is not possible to de-select a radio button option in HTML, for some reasons why you might like to read this: https://ux.stackexchange.com/questions/13511/why-is-it-impossible-to-deselect-html-radio-inputs


[#79145] Tuesday, April 2, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kevonmoisesf

Total Points: 693
Total Questions: 101
Total Answers: 128

Location: Reunion
Member since Mon, Dec 28, 2020
3 Years ago
kevonmoisesf questions
Sat, Jan 23, 21, 00:00, 3 Years ago
Tue, Feb 18, 20, 00:00, 4 Years ago
Wed, Jun 12, 19, 00:00, 5 Years ago
;