How to create a JSON array with values from DOM(HTML TABLE) when I click a button using JQuery/Javas

ساخت وبلاگ
I have to save/batch update all rows where any rows’ input or select elements contains class bg-warning or save all rows where row’s id contains “trScholar_evt” with a button click. I want to create a JOSN array in the following format using JavaScript or jQuery. My JSON array contains information about the rows and all columns.

//Need a JOSN array in the following format

const data =
[
{
"row_ID": "trScholar_11085716",
"row_Data_Attributes": [{"recordid": "11085716", "ownerid":...

How to create a JSON array with values from DOM(HTML TABLE) when I click a button using JQuery/Javas WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 101 تاريخ : دوشنبه 1 خرداد 1402 ساعت: 19:29