Sometimes we may need to hidden a display field in edit form.
What I do is use getElementByID to get the node of specific node.
And for the form field, use parentNode.parentNode et al to get a specific TR node.
And use object.style.display="none" to hide the table row.