'Populate form fields from Ajax JSON response data with JQuery

I am new to reading Json data and populating the form. I have spent few days on this and still cannot figure out.

HTML data enter image description here

Jason data object response

enter image description here

I am trying to populate the form field jobDescId, EducationId from JSON response.

To start with, I am trying to use Jquery to find the form field that I am looking

$(".BasicInfo.Education0.EducationId") and this is not working..I get the following when I run this Chrome dev tool tab. w.fn.init [prevObject: w.fn.init(1)]length: 0prevObject: w.fn.init [document][[Prototype]]: Object(0)

I am not sure how to loop the data as I have two item for education list.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source