How can remove one row in table with ajax
In this partial view I fill a table with a model an foreach loop, like below:
ردیف
نام
تخصص
سابقه
حذف
@foreach (var item in Model)
{
@(orderCounter++)
@blSpecialist.Find(item.Sp_id).Name @blSpecialist.Find(item.Sp_id).Family
@blSpecialist.Find(item.Sp_id).Specially
@blSpecialist.Find(item.Sp_id).WorkYear
}
I want to remove one row when the remove link is clicked.
This is my JQuery, but it does not work:
Privacy & Cookie Consent
We use cookies to ensure the best experience on our website. This includes analytics, personalization, and marketing purposes. Some cookies are essential for the website to function properly.
By clicking "Accept", you consent to our use of cookies. You can read more about how we use cookies and how you can change your preferences in our Privacy Policy.