diff --git a/ajax-requests/js/xmlCap.js b/ajax-requests/js/xmlCap.js index cfd4e1d..061e97a 100644 --- a/ajax-requests/js/xmlCap.js +++ b/ajax-requests/js/xmlCap.js @@ -15,9 +15,9 @@ function captureXML() { content += '
| COMPANY EXPENSE | ||
|---|---|---|
| Category | Group | File for Tax |
| ' + data[d].childNodes[1].textContent + ' | '; - content += '' + data[d].childNodes[2].textContent + ' | '; + var checked = (data[d].getElementsByTagName('company')[0].textContent == 'true') ? ' checked' : ''; + content += '|
| ' + data[d].getElementsByTagName('category')[0].textContent + ' | '; + content += '' + data[d].getElementsByTagName('group')[0].textContent + ' | '; content += '|