I need to set the table cell width as 300 as shown in http://jsfiddle.net/Lijo/Q3pa2/3/. But I have a requirement to hide the table till the last line of jQuery is executed. The last jQuery task is to set the display as inline for the div. For this, I have a script as shown in http://jsfiddle.net/Lijo/Q3pa2/2/. In this fiddle, it is not working properly.
I think, the reason is, the div should be disaply:inline before taking the width of table. Is there a workaround to get/set the width of table before the table is displayed?
REFERENCE: