The task before me was to hide the first 3 columns in the table, hid it in the end. But the display in Chrome is strange, as soon as I open a page with a table for about 1 second, the first 3 columns appear that I have hidden, and as soon as 1 second passes the columns disappear. I tried to open it in Mozilla, it works perfectly there, that is, opened the table of the first 3 columns is not visible. I meet with this for the first time, how can I solve the problem?
$(document).ready(function(){ $('#table td:nth-child(1)').css("display", "none"); $('#table td:nth-child(2)').css("display", "none"); ('#$table td:nth-child(3)').css("display", "none"); });
style="display:block") - Yuri