skip to Main Content

Jquery – Problem in sending data to the controller through Ajax in ASP.NET MVC

I use this foreach: foreach (var item2 in RItem.GetChildItems(item.ID_Ca)) { <div id="@idc" class="accordion-collapse collapse" aria-labelledby="headingTwo2" data-bs-parent="#accordionExample"> <div class="accordion-body" style="background: white; padding: 5px; padding-left: 20px;"> <button id="getthis" data-id="@item2.Name_Ca" type="button" onclick="Search()" style=" color: #0028ff; font-size: 14px;"> @item2.Name_Ca </button> </div> </div> } When…

VIEW QUESTION
Back To Top
Search