Getting Real Width of Hidden Element using Jquery
If an HTML element is hidden or its parents are hidden then Jquery .width() will return 0. But sometimes we need to get the actual width of element which would be applicable if element is visible. To get that real width of hidden element here is a small Jquery Hack:-