Widget:PriceCalculator: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(append an object)
(textContent is not a function)
Line 44: Line 44:
     function create_output_row(header, content) {
     function create_output_row(header, content) {
         let row = document.createElement('tr');
         let row = document.createElement('tr');
         row.appendChild(document.createElement('th')).textContent(header);
         row.appendChild(document.createElement('th')).textContent = header;
         row.appendChild(document.createElement('td')).textContent(textContent);
         row.appendChild(document.createElement('td')).textContent = textContent;
         return row;
         return row;
     }
     }

Revision as of 17:47, 4 October 2023