Click here to Skip to main content
15,886,847 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When i click on radio button it checked at second time.
first i am not getting any response.

Here i used 3 radio button for first two i can get checked at first time. for last radio button checked working at second time clicked.

XML
<p class="float-left">
                               <label>
                                 <input type="radio" class="classblouse" id="rbtn{$blouseId}" name="blouseGroup" value="{$blouseId}">
                                   <xsl:value-of select="PrdDesc"/>
                                 </input>
                                 <xsl:if test="PrdCost=0">
                                   <span>
                                     FREE
                                   </span>

                                 </xsl:if>
                                 <xsl:if test="PrdCost>0">
                                   <span>
                                     &#160;
                                     <xsl:choose>
                                       <xsl:when test="//PrdDtls/PrdCurrType='INR'">
                                         INR <span class="WebRupee">Rs.</span>
                                       </xsl:when>
                                       <xsl:otherwise>
                                         <xsl:value-of select="//PrdDtls/PrdCurrType"/>&#160;<xsl:value-of select="//PrdDtls/PrdCurrSymbol"/>
                                       </xsl:otherwise>
                                     </xsl:choose>
                                     <xsl:value-of select="PrdCost"/>.00
                                   </span>
                                 </xsl:if>
                               </label>
                             </p

>
Posted
Updated 4-Feb-13 18:10pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900