2016-09-30 20 views

回答

0

我不認爲你可以阻止這種行動

由於瀏覽器自動添加tbody元素而呈現

不過你不能試圖通過動態刪除元素Javascript

+0

是其作品。默認情況下,如果html包含tbody。如何解決它? –

+0

使用jQuery刪除它 –

+0

感謝您的回覆@ Siddhesh Kulkarni。我在這裏找到了解決方案http://stackoverflow.com/questions/15870313/html-agility-pack-appending-thead-tbody-tfoot-in-existing-html-table?answertab=active#tab-top –

0

你不能限制自動添加標籤TBODY行動

您可以刪除明確Please refer to remove tbody

+0

Thanks @ Amol 。我在這裏找到解決方案http://stackoverflow.com/questions/15870313/html-agility-pack-appending-thead-tbody-tfoot-in-existing-html-table?answertab=active#tab-top –

相關問題