How to loop the jquery formData key object in jqueyr

The solution for “How to loop the jquery formData key object in jqueyr” can be found here. The following code will assist you in solving the problem.

for ([key, value] of form_data.entries()) {
let val;
if (value instanceof File) {
val = value.name;
} else {
val = value;
}
console.log(key + ‘: ‘ + val);
}

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in