My checkbox only works on the first click, the second click does not fall in the event Oncheckedchanged="teste_CheckedChanged"

Asked

Viewed 17 times

0

Segue o código abaixo

   <div class="span3">
                        <label>testando</label>
                        <br />
                        <label class="switch">
                            <asp:CheckBox ID="chkteste" runat="server"  EnableViewState="false" AutoPostBack="true" OnCheckedChanged="chkTeste_CheckedChanged"/>
                            <span class="slider"></span>
                        </label>
                    </div>

I didn’t apply anything to js, I do everything by Oncheckedchanged, before using the "slider" worked. Someone can help me ?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.