dimanche 10 janvier 2016

How to remove checkboxes have same name by using jquery?

I have this code and I don't know how to remove checkboxes from lstFullAction if it has same name like lstAction. 2 list from 2 different table.

                                @foreach (var lstAct in listAct)
                                {

                                    <input style="margin-left:40px; margin-top:5px; " id="ChkAction" type="checkbox" checked="checked" name="aaa" value="@lstAct.ID" />@lstAct.Action

                                }
                                @foreach (var lstfullAction in listfullAction)
                                {

                                    <input style="margin-left: 40px; margin-top: 5px;" id="ChkFullAction" type="checkbox" name="chkfull" value="@lstfullAction.ID" />@lstfullAction.Action
                                }
                            </td>




Aucun commentaire:

Enregistrer un commentaire