jQuery write JSON item value to each respective td with an id – Jquery ajax
I have a JSON array gathered from an AJAX response, as such [{"a":"dog","b":2,"c":3}, {"a":"cat","b":90,"c":4}]. I also have an HTML table as such: <table id="reportTable"> <thead> <tr> <th>a</th> <th>b</th> <th>c</th> </tr> </thead> <tbody> <tr> <td id="aValue"></td> <td id="bValue"></td> <td id="cValue"></td> <tr>…