You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I convert my code from HTML.js to DOMx but get the following error.
Uncaught HierarchyRequestError: Failed to execute 'appendChild'
on 'Node': Only one element on document allowed.
I get this error when I try to do that:
var tr = table.query('tbody').append('tr');
tr.append('td').textContent = '-';
fields.each(function(field) {
var td = tr.append('td'); // HERE I GET THE ERROR
});
What I'm trying to do in this code is:
Insert a new line in a table
Fill the first td with a -
Fill the next td with values from a form
The last td I put a link
If you need a complete code, tell me.
The text was updated successfully, but these errors were encountered:
I convert my code from HTML.js to DOMx but get the following error.
I get this error when I try to do that:
What I'm trying to do in this code is:
td
with a-
td
with values from a formtd
I put a linkIf you need a complete code, tell me.
The text was updated successfully, but these errors were encountered: