A
A
alexeygavrilovs2020-04-20 17:24:43
AJAX
alexeygavrilovs, 2020-04-20 17:24:43

How to fill multiple fields in a form from a received ajax request?

I receive data via ajax, in json format
{
name: "Post vote",
vote: "Yes",
time: "2019-08-14 19:00:00"
}
I need to extract data from json and place them in different input, how can this be done?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question