skip to Main Content

How to get the property's name of an object using jQuery?

this is my form: <form id="inventoryForm" action="/ManderalMatrix/AddManderalInventory" class="reactiveToButton"> <div class="row" style="margin-top: 18px"> <div class="col-md-3"> <div class="form-group"> <label> Size of punch (mm) <span style="color:red">*</span> </label> <input name="PunchSize" id="PunchSize" type="text" class="form-control inventoryInput objectInput" /> </div> </div> <div class="col-md-3"> <div class="form-group"> <label> Shape…

VIEW QUESTION

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