How to get Id value by clicking Edit button on the same row of DataTable

后端 未结 4 402
滥情空心
滥情空心 2021-01-15 08:32

I use jQuery Datatable for listing records and add an Action button (Edit) for editing the record on a modal dialog. If I select a row I can get th

4条回答
  •  说谎
    说谎 (楼主)
    2021-01-15 09:26

    If the id is on the parent container then find it's value and use it. If it's a sibling then do the same.

提交回复
热议问题