I am doing hide/show of a column in a table using jQuery. Sometimes i am getting clientWidth value as 0(that time parent element of table i.e a div width is reduced compared to that table, so some part of the table is not shown) and sometimes value. While clientWidth is 0 creating problem for me. Why clientWidth is 0.. after the page is fully loaded
Share
While debugging js..we are not getting exact clientwidth, because of css class attached to it. Even empty css class or undefined css class also affecting Width and height of the element. We changed to in line style to solve the problem.