This topic contains 1 reply, has 2 voices, and was last updated by Sean Sean 4 months, 2 weeks ago.

Radio button value


  • ch3rn1k
    Participant

    Posts: 10
    Member Reply #15504

    Hello everyone! Today I tried to add radio buttons as on buttons page and they looks pretty good, BUT how to get a value from them? I got this code:

     

    <div id=”transaction-type” class=”btn-group btn-group-justified” data-toggle=”buttons”>

    <label id=”sale-changer” class=”btn btn-brand-radio active”> <input class=”toggle” type=”radio” value=”0″ /> Sale </label>

    <label id=”lease-changer” class=”btn btn-brand-radio”> <input class=”toggle” type=”radio” value=”1″ /> Lease </label>

    </div>

     

    I tried click event on this div and it returns old value which was selected. Thanks for your help.

    Sean
    Sean
    Keymaster

    Posts: 4498
    Support Staff Reply #15505

You must be logged in to reply to this topic.