How can i send id of the currently posted form data through json response in custom wordpress plugin?

by Bikash Gurung   Last Updated May 15, 2019 17:08 PM - source

I've used wp_send_json() to send the currently posted form data but cannot find a way to send the id attached to it which is incremented automatically from the database,, so that i can update the table data on the page without refreshing...

enter image description hereenter image description here

Tags : php ajax jquery json

Related Questions

AJAX returns response 0

Updated March 29, 2015 06:02 AM

Cannot access elements of json object

Updated March 31, 2016 08:03 AM

How to use an Array that is in an Array

Updated September 12, 2017 11:08 AM